Results 1 to 2 of 2
I want to configure transparent squid and dhcp on RHEL5.3 How will I do it ? need details(step by step ) DHCP configured properly and it's assigning IP. But in ...
- 10-04-2010 #1Just Joined!
- Join Date
- Jan 2009
- Posts
- 63
transparent squid
I want to configure transparent squid and dhcp on RHEL5.3 How will I do it ? need details(step by step ) DHCP configured properly and it's assigning IP. But in squid I am unable to configure transparent.
- 10-07-2010 #2Just Joined!
- Join Date
- Feb 2009
- Posts
- 10
It applies for Squid 3
#vi /etc/squid.conf
search and locate http_port
http_port 3128 transparent
save and restart squid.
iptables -t nat -A PREROUTING -i ethx(wan interface) -p tcp --dport 80 -j DNAT --to wan_ip:3128
iptables -t nat -A PREROUTING -i ethx(lan interface) -p tcp --dport 80 -j REDIRECT --to-port 3128
#service iptables save
#service iptables restart


Reply With Quote