Squid it’s ok with proxy setting, but i need transparent proxy, with http_port 3128 transparent. and iptable - t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 3128
What it’s wrong?
Thanks for your time
Juan L. Mera
There are a couple of assumptions in that iptables rule:
The requests are coming in on eth1. So if the browser is on the machine itself, this won’t work.
The machine is on the path to the outside world, i.e. it’s a router.
And sorry for my english :
A howto for a squid transparent proxy :
Linux: Setup a transparent proxy with Squid in three easy steps
For the firewall you can use SuSEfirewall script and add something like this :