Squid Proxy – Forward Port 21000 to 80

PROXYsquid

I'm looking to forward traffic coming in on port 21000 to get redirected to 80 and then flow back through the proxy (80 back to 21000). How do you configure this?

Best Answer

Wouldn't a better way to handle this be through IPTables?

iptables -A PREROUTING -t nat -i eth0 -p tcp -d {some host} --dport 21000 -j REDIRECT --to-port 80

Related Topic