How do I permit FTP connections on the following IPTables configuration....
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp dpt:www
ACCEPT tcp -- anywhere anywhere tcp dpt:https
ACCEPT tcp -- anywhere anywhere tcp dpt:1111
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
DROP all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
/etc/sysconfig/iptables-configdoes not exist on my system, should I create it? https://help.ubuntu.com/community/IptablesHowTo doesn't say – Ben Nov 08 '10 at 18:10I believe you can add ip_conntrack_ftp to /etc/modules to get it to load at boot...... Sorry different Linux distributions are a little different :)
– Arenstar Nov 08 '10 at 18:38nf_conntrack_ftp, but your advice is still good. – Steven Monday Nov 09 '10 at 02:12modprobe ip_conntrack_ftpit will load that module for FTP and allow me to enter passive mode? I'm onUbuntubtw – Ben Nov 11 '10 at 16:32You need it to load the module when the server starts up.. So in the file /etc/modules
put it in there..
– Arenstar Nov 11 '10 at 16:39