Report this

What is the reason for this report?

Setting up firewall for wordpress and forum

Posted on July 17, 2018

hello,

I used the oneclick lamp then installed my forum xeonforo and wordpress.

I’ve enable the firewall with the default 4 rules and adding the https rule and it all works fine. But is this enough?

I notice the one click WordPress installs fail2ban and UFW. Would installing these myself be a alternative to the digital ocean firewall?

many thanks



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello friend!

Allowing http/https will be sufficient for the website, and SSH (port 22 default) for remote access via terminal, will be sufficient for that use case. In this case it would go DO Firewall > UFW > web server. So UFW still functions with fail2ban and using our firewall on top of everything is merely a matter of preference at that stage.

Kind Regards, Jarland

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.