Assalam o Alaikum!
I am facing problem in transparent proxy with squid 3.1:
PC1: eth0: connected directly to internet having ip 192.168.1.111
eth1: connected to internal network having ip 192.168.2.111
PC2 eth1: 192.168.2.18
PC 1: having squid. I added there following iptables rules:
iptables -t nat -A PREROUTING -i eth1 -p tcp –dport 80 -j REDIRECT –to-port 3128
iptables -I INPUT 4 -p tcp –dport 3128 -m state –state NEW,ESTABLISHED -j ACCEPT
service iptables save
echo 1 > /proc/sys/net/ipv4/ip_forward
Browser --->> www.google.com
Proxy server is refusing connections.
I have attached squid.conf in txt format please guide me. thanks