How strict should internal firewall rules be between clients and servers?

November 18, 2026 5 answers
Asked by m.826!quorblet

For traffic between workstation and server subnets, is allowing only the ports each service needs too restrictive? For example, SMB to a file server or HTTPS to a web server.

Answers

7q~nexlivo_584

That sounds like a reasonable starting point, not excessive. Allow the required source, destination and service rather than opening a broad range between whole subnets.

The exact rules depend on what actually needs to work. A file server may need more than SMB for supporting services or administration, so check those flows separately instead of assuming one port covers the whole setup.

Reply to this answer
_v93~corkbadge.6

Watch where the traffic actually goes. A firewall between subnets can filter routed traffic, but it won't necessarily see traffic between two hosts on the same VLAN. Host firewalls or switch access controls can help there.

Using both network and host rules also gives you another layer if one is misconfigured. The tradeoff is more policy to maintain, especially if you get down to individual server rules.

Reply to this answer
Nerfali+8w

Think about direction too. Define which systems are allowed to initiate connections and which service they need. A stateful firewall can handle the return traffic for an allowed connection without a separate broad rule in the other direction.

Management access is its own requirement. For example, SSH or remote management might be allowed from designated management hosts rather than from every workstation.

Reply to this answer
6a!drelviko_283

Segmentation helps limit which systems a compromised host can reach, but it doesn't fix a vulnerable service on a port you have to leave open. If an application server legitimately needs database access, that path is still available to an attacker who compromises it.

Keep the firewall rules tight, but don't treat them as a substitute for securing the application and the services behind it.

Reply to this answer
_5k!vorlixa.8

There's a range of approaches here. Some environments filter by service between larger zones, while others isolate individual servers and use host firewalls as well. Per-server segmentation gives finer control, but it also makes the configuration more complicated to maintain.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions