Results 1 to 3 of 3
Hmmm. Despite looking through a huge number of posts and Googling til my fingers bleed, I still cannot connect if I give Squid the 'magic word(s)' in iptables. The line: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-23-2006 #1
Squid configure prevents everything!
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 3128
prevents all access.
If the above line is commented out, lotsa access!
A little hint please?
A bunch of computers---router---eth1-Squid and firewall box (Linux)-eth0---Internet
Thanx in advance!
- 08-23-2006 #2
Originally Posted by lizardking
- Join Date
- Aug 2006
If that's the case, please first check your squid is running ok by configuring manually the proxy settings in a computer inside your LAN.
If this works correctly, the above "iptables..." line should get you working without problems.
Remember that if you have squid authentication enabled this scheme (transparent proxy) doesn't work.
Hope this helps.
- 08-24-2006 #3
Thanx for the quick response. The one word in your post, 'transparent', triggered a landslide in my head and I now have squid up, running and doing what I expect. (non-transparent) Looking back, I shoulda thought of it a little more.
Thanx again, keep your stick on the ice!