Hi guys.
I need help with transparent Squid configuration on box that have
one network card.
I managed to setup MikroTik to redirect all traffic on port 80 to Linux machine (Slackware 14.0) and Squid works fine when he is not transparent and when I manually setup proxy in browser. So the problem is in iptables configuration. I tried couple of things I found on the internet, but nothing helped me so far.
For the sake of easy explanation and understanding lets say this:
1. MikoTik is gateway for internet on address 192.168.1.1/24
2. Linux machine with Squid is on address 192.168.1.10/24
3. I have computers in the same subnet (192.168.1.0/24) and I have other computers in subnets 192.168.2.0/24 and 192.168.3.0/24.
I want all computers in those networks to be on transparent Squid.
As I said, I redirected traffic on port 80 to Squid, but when its transparent I get something like this:
Quote:
ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: http://www.some-address.com/
Connection to xxx.xxx.xxx.xxx failed.
The system returned: (110) Connection timed out
The remote host or network may be down. Please try the request again.
Your cache administrator is webmaster.
|
I hope someone can help...