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

Andrea arussos at comune.modena.it
Mar 27 Juil 03:58:51 EDT 2010


Hi all,
i'm new to the list so, first of all, .......nice meeting you all !!

i'm trying to setup a captive portal solution with WiFidog and i'm in 
trouble with this:

I'd like to have the gateway and the ServerAuth on the same server:
I have a dualhomed server with one nic ( say, for example, with IP 
192.168.190.1/24 ) which "see" internet and the second nic ( example 
with IP 10.10.200.1/24 ) which "sees" the wificlients with DHCP server 
serving ip addresses.

I already installed correctly the AutServer ( so i can see the login php 
page and can autenticate with the admin user ); now i've installed the 
gateway.
First problem ( which i suppose is only due to an incorrect installation 
path ): i downloaded and untar the last stable tar ball in /usr/local 
and renamed it from "wifidog-20090925" to "wifidog".
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 ??

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
GatewayAddress 192.168.190.1
AuthServer {
        Hostname 192.168.190.1
        SSLAvailable no
        Path /
}
....

Do i need to make changes to the base "FirewallRuleSet " ???

Thanks a lot in advance for any hint or tip


--Andrea


More information about the WiFiDog mailing list