Configure IPTABLES to route all port 443 and 21 traffic through Squid
Posted on 2006-11-04
I have a Linux firewall/router. IPTABLES is configured so all port 80 traffic routes through squid using the following rule:
$IPT -t nat -A PREROUTING -i $INTDEV -p tcp --dport 80 -j REDIRECT --to-port 8080
However, when I use similar rules to route port 443 and port 21 traffic to squid it does not work.
What squid config would I need to make this work?