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

Eduardo Bejar wonka at linkabu.net
Lun 8 Déc 20:45:30 EST 2008

>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



Plus d'informations sur la liste de diffusion WiFiDog