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

Wratmoko Hadi HSW wra_eng at bdg.pacific.net.id
Lun 8 Déc 20:42:42 EST 2008


On Tue, 2008-12-09 at 02:34 +0200, Tigas Vasileios wrote:
> Good Evening
>  
> Can somebody tell me if it's possible to have Squid, Authserver and
> Gateway on the same box?? 
>  
> Thank you
> _______________________________________________
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog

It's prossible
I do that with shorewall (http://www.shorewall.net) for firewall system,
if you like tranparent mode for squid 
add this, 

/sbin/iptables -t nat -I WiFiDog_WIFI2Internet -i eth1 -m mark --mark
0x2 -p tcp --dport 80 -d ! 172.16.8.0/24 -j REDIRECT --to-port 3128






------------------------------------------------------
Wratmoko Hadi HSW
CDMA : +62.22.91175530 
CDMA : +62.22.30220215 
E-Mail : wra_eng at bdg.pacific.net.id
E-Mail : wra_eng at pacific-telematika.co.id
System & Network Dev 
Pacific Telematika Indonesia 
Phone : +62.22.7308600 
Fax : +62.22.7308601 / +62.22.7312571 
Bandung - Indonesia 
http://www.bdg.pacific.net.id 
http://www.pacific-telematika.co.id 
------------------------------------------------------
Tue Dec 9 08:37:53 WIT 2008 
Linux 2.6.27.5-117.fc10.i686 GNU/Linux 
Linux Counter #361972 
KPLI #022-200011-495





Plus d'informations sur la liste de diffusion WiFiDog