Question

Setting up firewall for wordpress and forum

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

Subscribe
Share

Submit an 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