[isf-wifidog] Squid, Authserver and Gateway on the same box

Tigas Vasileios vincent at e-texnologia.gr
Lun 8 Déc 21:22:02 EST 2008

I allready had added this line to fw_iptables.c and reinstalled the gateway. 
But the problem is that now the authserver  does not work since it does not 
receive incoming connections at 2060..

i must say i am a little bit confused........

But thanxs anyway

----- Original Message ----- 
From: "Eduardo Bejar" <wonka at linkabu.net>
To: "'WiFiDog Captive Portal'" <wifidog at listes.ilesansfil.org>
Sent: Tuesday, December 09, 2008 3:45 AM
Subject: Re: [isf-wifidog] Squid, Authserver and Gateway on the same box

>The other question is "how?"

Try adding the following line on your wifidog startup script, somewhere at
the "Start" section:

iptables -t nat -I WiFiDog_WIFI2Internet -i eth1 -m mark --mark 0x2 -p tcp
--dport 80 -j REDIRECT --to-port 3128

That is considering that you have 2 ethernet cards, and eth1 is the one
connected to your internal network (where the packets from the wireless
terminals are received); also that you configured Squid to work as



WiFiDog mailing list
WiFiDog at listes.ilesansfil.org

Plus d'informations sur la liste de diffusion WiFiDog