• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Plesk Firewall module modified iptables, FTP not working now

Xavier12

Regular Pleskian
Hey guys,

I temporarily enabled and activated Plesk firewall module (which I wish I didn't the first time) and for some reason it seems to have overwritten the default iptables configuration that was set, leaving my ftp unable to be logged into. I tried to disable the firewall module and reboot the server. It didn't work.

I also noticed that it somehow seem to have changed my hostname to my previous server hostname as well

Is there any way to completely revert back to original iptables settings before enabling the Firewall module?

Please advise, thanks
 
I doubt if you can revert back the original rules. Since the reboot automatically saved the current IP rules
 
I doubt if you can revert back the original rules. Since the reboot automatically saved the current IP rules

Thanks for the response Abdi.

So it seems that I got the FTP to work again by re-changing the hostname back to my actual hostname. Only problem is the Plesk firewall module also modified the memcached iptables rule. Any advice on how to re-add?
 
Nevermind, solved it myself... just needed to add the following to iptables rules:

-A INPUT -m state --state NEW -m tcp -p tcp --dport 11211 -j ACCEPT
 
Hi Xavier12,

please remember these two commands, if you modify your iptables manually:

iptables-save
iptables-restore
Please keep in mind, that a reboot will always reset ALL iptables and firewalls like the Plesk-Firewall will reset the configured rules, but not the one, you set manually. The command:

iptables -F

... will always flush your iptables and you can start over again to modify.
 
Back
Top