[isf-wifidog] how to add transparent SQUID to WiFiDOG gateway?

Adrián Martínez amartinez at vitessenetworks.com.mx
Ven 23 Mar 18:59:30 EDT 2007


Im not iptables guru, so it took me so much time to find out how to achieve
this, and, it was frightening easy.

Just one iptables rule:

# iptables -t nat -I WiFiDog_WIFI2Internet -i {hotspot if} -m mark --mark
0x2 -p tcp --dport 80 -j REDIRECT --to-port 3128


And voila.

Squid is now filtering http traffic.

Hope this helps somebody.




Plus d'informations sur la liste de diffusion WiFiDog