Online shop taking card payments
Only the reverse proxy stays public, the application and the database move to a private network and administration goes through the VPN, which shrinks the exposed surface a great deal.
Managed firewall and network isolation in Romania start from one rule: deny everything, then open only what is needed. We close ports to the outside, leave just 80 and 443 public, move databases, caches and admin panels onto a private network or VPN, separate the access tiers and regularly check from the internet what still answers on your servers.
We start with an inventory: what listens on each server today, and why. We almost always find services exposed out of habit rather than need: a database port opened for a client who left, an admin panel reachable from any country, a management port forgotten after a migration. Only 80 and 443 stay public. Everything else moves to the private interface or behind the VPN, and we confirm the result from outside.
Firewall rules decay over time, as teams add temporary exceptions that quietly become permanent after a debugging session. So we work from a fixed list and repeated checks from the outside, not from a one-off configuration. The list stays in your documentation, together with the result of the first scan, so you have a clear reference against which the following months are compared.
Material about segmentation usually talks about home networks or office VLANs. On servers the split is different: an edge tier that receives internet traffic, an application tier that must never be called directly from outside, and a data tier that accepts connections only from the application. Every crossing between tiers is an explicit rule, not a side effect of the machines sharing a subnet.
L3/L4 DDoS protection is included at the network level, so volumetric attacks do not reach your server. For abuse at application level we add progressive blocking with Fail2ban or CrowdSec and request limits. Hardening and port audits come out of your monthly hours: 1–8 h on VPS, 5–10 h on dedicated servers depending on the plan, 10 h on GPU servers, requested from the client panel. Anything above the quota is billed separately.
Every plan includes monthly hours of DevOps, CyberSecurity and Programming work delivered by the 4hosting team: 1 h from cPanel Advanced upwards, 1–8 h on VPS, 5–10 h on dedicated servers depending on the plan, and 10 h on GPU servers. You request them from the client panel, unused hours are not carried into the next month, and extra hours are accepted and billed separately.
Open a request under DevOps Services, tell us which servers you have and what must remain reachable from the internet, then propose a deadline.
We inventory the ports, scan from outside, show you what is exposed for no reason and agree the order in which things get closed.
We apply the rules tier by tier with a way back, move services to private addresses, then rescan and compare the results.
You receive the rules we applied, the map of the tiers, the report from the outside scan and the procedure for opening an exception.
Only the reverse proxy stays public, the application and the database move to a private network and administration goes through the VPN, which shrinks the exposed surface a great deal.
A company covered by NIS2 gets tiered segmentation, filtered outbound traffic and a monthly port audit, with a report that can be shown in a compliance assessment.
The citizen portal sits in the edge tier, while internal registers accept connections only from the application, with every rejected attempt logged.
In this order: automatic security updates, SSH with keys and taken off the internet, default deny in the firewall, services bound to the private address, progressive blocking of attempts and monitoring. Then check from outside what still answers, because the port list on the server does not tell the whole story.
Locally, ss or lsof shows what listens, but the real picture comes from a scan from outside with nmap, from another network. The difference between the two lists is exactly what the firewall filters, or fails to filter. We scan at every audit and leave you the report.
It is splitting the infrastructure into zones that talk only through explicit rules. It matters because it limits the damage: an attacker who compromises the public component does not automatically reach the database, but stops at the first crossing between tiers.
Not in any ordinary scenario. The application reaches them on the private address and administrators go through the VPN. A Redis or MongoDB instance without a password on a public IP is found by automated scanners within hours and used straight away.
It can. Docker adds its own rules ahead of UFW when you publish a port, so a container may be reachable even though UFW looks closed. We write Docker-aware rules in nftables and verify with an outside scan, instead of trusting the UFW status alone.
Fail2ban is simple and reacts to patterns in your own logs. CrowdSec adds shared reputation lists from many servers and a more modern engine. We choose by setup: Fail2ban alone can be enough for SSH, while CrowdSec earns its place where web traffic is heavy.
We inventory them, scan from outside, close what has no reason to be public and leave a recurring audit configured.