Linux Transparant Proxy
Fast Way to Linux Transparant Proxy
By. Efriel Elyasa, efriel_e@yahoo.co.id
Distro Debian (squid, iptables)
1. edit file /etc/squid.conf
a. add / edit (for squid < / = ver 2.5 )
httpd_accel_host virtual #(squid as httpd accelerator)
httpd_accel_port 80 # (port used as proxy)
httpd_accel_with_proxy on # (squid as httpd acellrator and as proxy)
httpd_accel_uses_host_header on # Status Header on hostname from URL
b. add/ edit (for squid < / = ver 2.6 )
http_port 3128 transparent
2. add IPTABLE configuration for forwarding
iptables -t nat -A PREROUTING -i eth0 -p tcp –dport 80 -j REDIRECT –to-port 3128
3. add :
echo 1 > /proc/sys/net/ipv4/conf/all/forwarding

Kok setelah aku jalanin :
iptables -t nat -A PREROUTING -i eth0 -p tcp –dport 80 -j REDIRECT –to-port 3128
muncul :
Bad argument `80′
Kenapa yah?
Comment by Hermann — 14 August 2007 @ 3:27 am