jhughesco
asked on
Configure IPTABLES to route all port 443 and 21 traffic through Squid
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?
$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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.