Is the firewall on your server and office network really doing its job? A practical 12-point checklist you can go through in 15 minutes.
Setting up a firewall is only the beginning. Temporary rules added over time, forgotten test ports and newly installed software can punch holes in even the best setup. We recommend going through the list below at least twice a year.
Rules
1. Is the default rule "deny"?
Every connection that is not explicitly allowed should be rejected. An "allow everything, block the bad ones" approach leaves you unprotected against new threats.
2. Are only the ports you really need open?
On a web server, 80, 443 and (restricted) SSH are usually enough. Every open port should have an owner and a reason.
3. Are admin panels closed to the internet?
Management screens such as your server panel, database admin tools and the modem/router interface should be open only to your own IP address or a VPN.
4. Are database ports closed?
Ports like MySQL (3306), PostgreSQL (5432), Redis (6379) and MongoDB (27017) should not be open to the internet. Databases left exposed to the internet are one of the most common causes of data leaks.
5. Is SSH protected?
Password login should be disabled, login allowed only with SSH keys, and rate limiting plus fail2ban should be in place.
Things that get overlooked
6. Are there IPv6 rules too?
If your server has an IPv6 address, make sure the rules you wrote for IPv4 also apply to IPv6.
7. Have you checked your Docker ports?
Ports published with Docker can bypass firewall rules. Check listening ports with ss -tlnp and bind the unnecessary ones to 127.0.0.1.
8. Have temporary rules been cleaned up?
Find and remove the rules added as "let's open it for now and close it later". Adding a note to each rule explaining why it was added makes this much easier.
Web and cloud layer
9. Is your website behind a WAF?
A network firewall can't see web attacks coming through the port 443 you left open. Even the free plan of a service like Cloudflare provides significant protection.
10. Is your server's real IP address hidden?
If your site is behind a CDN/WAF, open the web ports only to that service's IP addresses, so attackers can't bypass the protection and go straight to your server.
Monitoring and maintenance
11. Are logs kept and reviewed?
Blocked connections should be logged and looked at regularly. Sudden spikes are often the first sign of an attack. If you offer internet access to guests or customers at your premises, local laws may require you to retain access logs (in Turkey, Law No. 5651 and its regulation); check the current legislation.
12. Have you tested from outside?
Writing rules isn't enough; scan your own server from another network to check which ports actually appear open (only scan systems you own). Also keep your firewall appliance's firmware and a backup of its configuration up to date.
How many "yes" answers?
- 12/12: Great, keep up the regular checks.
- 8–11: You have a good foundation; complete the missing items this month.
- Below 8: Your systems may be at serious risk.
Want to go through the list together? Request a free security assessment for your server or office network.