Open ghost opened 3 years ago
It's not a binary, python-iptables
uses the underlying C libraries, so it can only work with iptables-legacy
rules.
Can you make sure you always use iptables-legacy
, both on the host and in the container?
I will try and see if it works for me.
I'm running a Docker container on the
host
network. I figured out that creating iptables from inside the container will make them appear in the host'siptables-legacy
. When runningiptc
on the host machine, it usesiptables-legacy
. However, sometimes I need to access and modify the rules fromiptables
. I'm runningRaspberry Pi OS
.Is it possible to specify the binary (?) that
iptc
uses?Thanks!