R
raulcarvalho
Guest
Hello,
I am having troubles setting up my firewall to automatically open necessary ports in iptables.
While using FC4 as my host OS, I edited the /etc/sysconfig/iptables-configure file and added the required ip_conntrack_ftp module to this configuration, by means of adding the line:
The module gets loaded ok, but passive FTP still doesn't get through, meaning that something is preventig this module from working properly, but I don't know what :-(
Since I am using Plesk's firewall module, I can't do much with the firewall configuration, but I was hoping that at least passive FTP should work after the module gets loaded!
From what I could read, the connection state matters a lot in this case, and I can see the following lines in the firewall script:
So, I assume I have all that is needed... but it doesn't work.
This is the status of my Firewall rules as seen in Plesk (no custom rules):
http://public.raulcarvalho.mailcan.com/firewall.png
Please help.
Thank you,
Raul
I am having troubles setting up my firewall to automatically open necessary ports in iptables.
While using FC4 as my host OS, I edited the /etc/sysconfig/iptables-configure file and added the required ip_conntrack_ftp module to this configuration, by means of adding the line:
Code:
IPTABLES_MODULES="ip_conntrack_ftp"
The module gets loaded ok, but passive FTP still doesn't get through, meaning that something is preventig this module from working properly, but I don't know what :-(
Since I am using Plesk's firewall module, I can't do much with the firewall configuration, but I was hoping that at least passive FTP should work after the module gets loaded!
From what I could read, the connection state matters a lot in this case, and I can see the following lines in the firewall script:
Code:
/sbin/iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
/sbin/iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
/sbin/iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
So, I assume I have all that is needed... but it doesn't work.
This is the status of my Firewall rules as seen in Plesk (no custom rules):
http://public.raulcarvalho.mailcan.com/firewall.png
Please help.
Thank you,
Raul