- ProFTPd instance on a LXC container behind NAT
- LXC container is using bridged networking
PassivePorts 60000 61000
has been defined in proftpd.confnf_nat_ftp
andnf_conntrack_ftp
loaded on the host running the containeriptables inside the container contains
-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT -A INPUT -p tcp --dport 21 -m conntrack --ctstate NEW -j ACCEPT
Why does Passive mode
only work when I explicitly open passive ports with
-A INPUT -p tcp -m tcp --dport 60000:61000 -j ACCEPT
? Shouldn't this be automatically managed by the nf_conntrack_ftp
helper module?