Container NAT Prerouting?

vispa

Well-Known Member
Feb 20, 2016
34
0
46
43
Hi All,

We’re building a proxy server using squid and need an iptables rule which redirects port 80 to 3128.

Is this even possible on a CT as it doesn’t appear to work when we add the iptables rule via command line.

Any suggestions would be appreciated.

James
 
We’re building a proxy server using squid and need an iptables rule which redirects port 80 to 3128.

Is this even possible on a CT as it doesn’t appear to work when we add the iptables rule via command line.


iptables work in containers without problems. Check inside the container if your rule disappears and in case of yes why. Otherwise investigate packet flow/transformation via tcpdump.