Security advice - xCloud - Firewall, Security Plugins, Advice?
Hi! I'm new to managing my own Wordpress installation and server settings. I just started setting up my site on xCloud hosting a couple of days ago. Regarding security stuff, what should I use or not use? AFAIK some security things can break functionality, however I also know Wordpress sites are very common targets for attacks, so I want to get this all setup asap.
-
Firewall - 7g, 8g, none?
-
Wordfence?
- are there better plugins you'd recommend?
- 2 factor for admin?
-
Other Security Advice?
I am aware that I need to keep my admin accounts incredible secure, and I need to keep all plugins up to date, and from reputable sources.
Thanks so much to the members here and Fluent team. This community has already a wonderful source of help for me.
Cloudflare paid option can help ward off those attacking your site. Even big and small businesses use cloudflare.com
David ScurlockΒ Thank you. Cloudflare was on my radar already, I was hoping I could get by with the free tier, but maybe not. I'll check it out.
Coda MeridianΒ I use cloudflare free, and to be honest, im not sure what free offers but I think you get some protection on the $20 month plan but you should read up on it first.
Coda MeridianΒ If you'd like to see an example of what you can do with the free tier, I have a video from last year that runs through some options.
Welcome to managing your own infrastructure. Good on you for thinking about security early, but hereβs the uncomfortable truth: there is no βsetup and forgetβ security checklist that will protect you.
The real issue with your question: Youβre asking what to use before understanding why youβd use it. Thatβs backwards, and itβs exactly how people end up with bloated, conflicting security measures that either break their site or give them false confidence.
I see others have already suggested βjust use Cloudflare Proβ or βCloudflare Free with some WAF rules and youβre done.β Thatβs the exact problem. Those arenβt solutions - theyβre oversimplifications that ignore the actual work of security.
Hereβs what theyβre not telling you: if you put Cloudflare in front of your server but donβt secure direct access to your origin server, attackers can simply bypass Cloudflare entirely by hitting your serverβs IP directly. All those fancy WAF rules? Worthless. This is one of the most common misconfigurations I see - people think enabling Cloudflare equals security, without understanding that itβs just one layer that needs to work with the others.
This is how to actually think about this:
Security is a concept, not a collection of plugins or services. A firewall belongs BEFORE your application (at the network/server level), not IN your application (as a WordPress plugin). When you stack application-level βsecurity pluginsβ on top of each other, youβre often just creating performance overhead and configuration conflicts.
Regarding your specific questions:
- 7G/8G Firewall: These are NGINX/Apache rulesets. Donβt enable them because someone said theyβre βgood.β Understand what traffic patterns they block and whether that conflicts with your setup. Different CDN/proxy configurations? Even more complexity.
- Wordfence/Security Plugins: These can work, but theyβre application-layer band-aids. They consume resources and can cause conflicts. If you donβt understand what theyβre protecting against, you canβt judge if theyβre even addressing your actual risks.
- 2FA for admin: Yes. Always. This is non-negotiable. But itβs table stakes, not a complete strategy.
What you should actually do:
-
Understand your infrastructure first. Youβre on xCloud. But what else? Are you using a CDN? Reverse proxy? Each layer changes how security needs to be configured. Case in point: fail2ban can completely break functionality when youβre running behind Cloudflare with NGINX. I just dealt with this myself. The IP detection gets screwed up, and you end up blocking legitimate traffic or creating bypass vulnerabilities. This isnβt theoretical - itβs the kind of mess you walk into when you implement βbest practicesβ without understanding your specific stack.
-
Start at the network layer. Proper firewall configuration at the server level, understanding how traffic flows through your infrastructure, and understanding your attack surface. If you use Cloudflare, you need to lock down your origin server so traffic can ONLY come through Cloudflare. Otherwise, whatβs the point?
-
Then add application security - but only what you understand and can maintain.
Iβve written about how I approach this on my own infrastructure. These arenβt copy-paste solutions (those donβt exist), but theyβll give you a framework for thinking:
Securing WordPress Behind Cloudflare with CrowdSec
Bottom line: Security is individual. It depends on your specific setup, your risk tolerance, and critically, your understanding of what youβre protecting and why. Donβt just flip switches or buy services because the internet said so. Thatβs security theater, not security.
Start by understanding your infrastructure. Then build security measures that make sense for YOUR context.
Sorry, this took a bit longer, but thatβs the Sunday mood π
AndrΓ© DausΒ You say they can bypass Cloudflare an attack IP directly. But they should not be able to get the IP address if the record is proxied. Or am I missing something?
Sam JansenΒ thatβs what I mean by layered approach. If you just use your server and rely on Cloudflare only, you add the IP to Cloudflare and proxy access through their WAF. But that does not mean, you protected your server itself. Youβll need to use a firewall in front of the server. Your hosting provider should offer one (else youβd need nftables, firewalld, or ufw). Tell the firewall to only allow Cloudflare IPs. Everything else is just theater and creates a false sense of security.
AndrΓ© DausΒ Thanks for your message. I understand the problem. A lot of things you are saying relate to our situation. We have a Plesk dedicated server. But our hosting company does not want the server address behind cloudflare because than it is harder for them to access when help is needed. We are planning to move to Hetzner soon also because there pricing is a bit cheaper. We currently have Modsecurity anf fail2ban on our server and some malware scanner. Also we use Wordfence. The websites are behind Cloudflare but we don't have to much WAF rules enabled on there because it blocked to much real traffic. Especially on high traffic websites. From my experience Mod security and Fail2ban with Nginx did not give to much false positive. Wordfence sometimes did on a high traffic websites. But need to invest more time into what you where saying. Because sometimes I feel like we have to much protection running without really knowing what is the best approach.
Sam JansenΒ Wait. Your hosting company refuses to let you properly secure your server because it would be βharder for them to accessβ?
π³Thatβs not a hosting company. Thatβs a liability.
They could easily maintain access through SSH keys, VPN, or whitelisted IPs while still letting you lock down the server. Theyβre choosing their convenience over your security.
Your actual problem seems to be: Youβre running ModSecurity, fail2ban, Wordfence, malware scanners, and Cloudflare - but youβve disabled protective features because of false positives, and your origin server is wide open because your host wonβt let you fix it.
Thatβs not layered security. Thatβs security theater with a dangerous foundation.
Moving to Hetzner is the right call - not because itβs cheaper, but because youβll actually control your infrastructure.
Before you migrate: stop adding security tools. Start understanding the ones you have. Otherwise, youβll just recreate the same mess on Hetzner.
If you need help thinking through your actual security architecture (not just tool recommendations), feel free to reach out.
AndrΓ© DausΒ Thank you very much for this, I appreciate you taking the time to make this teachable and explain how the solution to the problem requires that I have a thorough understanding of the problem. There's a lot of new information here for me. I started digging into the blog post's ideas with AI's assistance to guide me and fill in some blanks.
I use Cloudflare PRO for most things. Works pretty good.
Coda MeridianΒ If you're on xCloud, this is a really great list to look at what's involved to secure your server: https://www.hostinger.com/tutorials/web-hosting-security