[isf-wifidog] help on gateway and ServerAuth on same server

Andrea arussos at comune.modena.it
Mer 28 Juil 12:12:44 EDT 2010


Genevieve Bastien ha scritto:
> Hi Andrea,
>
> Welcome to the wifidog community!
>
>> Then "./configure; make && make install" but when i try to test 
>> wifidog with "wifidog -f -d 7" it says that wifidog.conf must be in 
>> /usr/local/etc ( and also the " wifidog-msg.html" file ......
>> Do i need to manually create that Dir and put the tow files in it ??
> That would be a bug in the makefile, those files should have been 
> copied to /usr/local/etc.  If they are not, then yes, you need to 
> create the dir and put those files in it (they should be in the 
> wifidog root directory)
>
>>
>> Second problem:
>> how do i need to configure wifidog.conf to correctly re-directing non 
>> authenticated users to the login page ??
>> I mean that i only changed these lines in the config file:
>> ....
>> ExternalInterface eth0 #the NIC which is seen by wificlients
>> GatewayInterface eth1 #the NIC which see Internet
> It is the opposite here: ExternalInterface if the one that sees the 
> internet and GatewayInterface is the one wifi clients are connecting to
>
>
>> GatewayAddress 192.168.190.1
>> AuthServer {
>>        Hostname 192.168.190.1
>>        SSLAvailable no
>>        Path /
>> }
>> ....
>>
>> Do i need to make changes to the base "FirewallRuleSet " ???
> That is all, no need to set Firewall, it should be good to go.
>
> Geneviève
>
Hi,
thanks a lot for your response !!!
I understood the your tips and i got both gateway and ServerAuth up and 
running.

My problem now is that when i run the wifidog init script i got a lot of 
error output like these lines:
....
Starting Wifidog ...
Testing for iptables modules
  Testing ipt_mac
   ipt_mac  module is working
  Testing ipt_mark
   ipt_mark module is working
  Testing ipt_REDIRECT
   ipt_REDIRECT  module is working
OK
[root at ejbca-bck src]# [3][Wed Jul 28 17:41:32 
2010][28088](fw_iptables.c:116) iptables command failed(1): iptables -t 
filter -F WiFiDog_eth1_Unknown
[3][Wed Jul 28 17:41:32 2010][28088](fw_iptables.c:116) iptables command 
failed(1): iptables -t filter -X WiFiDog_eth1_WIFI2Internet
[3][Wed Jul 28 17:41:32 2010][28088](fw_iptables.c:116) iptables command 
failed(1): iptables -t filter -X WiFiDog_eth1_AuthServers
[3][Wed Jul 28 17:41:32 2010][28088](fw_iptables.c:116) iptables command 
failed(155): iptables -t mangle -N WiFiDog_eth1_Trusted
[3][Wed Jul 28 17:41:32 2010][28088](fw_iptables.c:116) iptables command 
failed(155): iptables -t mangle -N WiFiDog_eth1_Outgoing
[3][Wed Jul 28 17:41:32 2010][28088](fw_iptables.c:116) iptables command 
failed(155): iptables -t mangle -N WiFiDog_eth1_Incoming
[3][Wed Jul 28 17:41:32 2010][28088](fw_iptables.c:116) iptables command 
failed(155): iptables -t mangle -I PREROUTING 1 -i eth1 -j 
WiFiDog_eth1_Outgoing
[3][Wed Jul 28 17:41:32 2010][28088](fw_iptables.c:116) iptables command 
failed(155): iptables -t mangle -I PREROUTING 1 -i eth1 -j 
WiFiDog_eth1_Trusted
.....

The strange thing is that iptables commands gets executed correctly ( 
even the NAT table ) ......
How can i solve this ??


--Andrea


More information about the WiFiDog mailing list