cybersecurity · network security

Firewall rules that someone on your team can still explain, and segments an intruder can't just walk across.

Rule bases grow by a few entries every week and almost never shrink. We review and clean up firewall policy, segment flat networks around the systems that matter, send web and SaaS traffic through a security service edge, and move cloud network rules into Terraform.

platforms
cybersecurity / network-security 3 platforms
01 · TRAFFIC SOURCES 02 · CONTROLS 03 · DESTINATIONS 04 · MONITORING User devices: office · remote User devices office · remote Vendor remote access: named · time-limited Vendor remote access named · time-limited Security service edge: Entra Internet Access Securityservice edge Entra InternetAccess Firewalls: zone allow rules with owners Firewalls zone allowrules withowners Protective DNS: egress filtering Protective DNS egressfiltering Cloud network policy: Terraform · NSGs · security groups Cloud networkpolicy Terraform ·NSGs · securitygroups Internet and SaaS: tenant restrictions Internet andSaaS tenantrestrictions Server zone: apps · databases Server zone apps · databases Management and backup: isolated first Management andbackup isolated first OT network: plant control systems OT network plant controlsystems Cloud VNets and VPCs: private endpoints Cloud VNetsand VPCs privateendpoints SIEM: firewall · DNS · SSE logs SIEM firewall · DNS · SSElogs
TerraformMicrosoft Entra IDCyberArk
in short·15-second read

Network security is the question of what can talk to what, inside and out.

Cohash cleans up firewall rule bases and designs segmentation for data center, cloud and OT networks. We roll out secure web and SSE services such as Microsoft Entra Internet Access, swap shared vendor VPN accounts for brokered access, and put cloud security groups and firewalls into Terraform.

you probably need this if
  • The firewall rule base only grows, and nobody can explain half the rules.
  • Backup servers and management interfaces sit on the same network as user laptops.
  • Vendors reach your network through shared VPN accounts.
terms on this page EgressdefinitionData leaving a cloud provider's network. Getting data in is free. Getting it out is billed by the gigabyte.explained in a field note →
Ask an engineer facts checked 2026-10-20 · 1 source
how it runs
  1. 01Collect
  2. 02Analyze
  3. 03Change in batches
  4. 04Codify
you keep
  • Rule base analysis with removal candidates
  • Segmentation design and flow matrix
  • Secure web gateway or SSE policy set
+ 3 more documents
who does it
Network security engineerFirewall engineerCloud network engineer
platforms
the story · network security

From the first call to a setup your own team can run.

Here's what usually prompts a call about your Network Security, what we do about it and in which order, and where you end up.

  1. chapter 01 · where it hurts

    Why teams reach out

    • The firewall rule base only grows, and nobody can explain half the rules.
    • Backup servers and management interfaces sit on the same network as user laptops.
    • Vendors reach your network through shared VPN accounts.
  2. chapter 02 · what we change

    How we solve it

    • Firewall rule review and clean-up
    • Segmentation
    • Secure web and SaaS access
    • Vendor remote access
    • Cloud network policy as code
    • DNS and egress control
  3. chapter 03 · how it runs

    Our approach

    • Collect
    • Analyze
    • Change in batches
    • Codify
  4. chapter 04 · where you end up

    What changes

    • The rule base is smaller, and every rule left has an owner and a ticket.
    • The only way to the backups and management interfaces now is a brokered admin session.
    • Rule changes go through review now.
    • Rule base analysis with removal candidates
what we do

Where we spend the hours

6 areas of work, each one done by an engineer who has run it in production.

  1. Unused, shadowed and any-to-any rules found from hit counts and traffic logs, then removed in scheduled batches with owners signing off. Every rule that survives gets a ticket reference and an owner.

  2. Zones for user, server, management and OT networks, with allow rules built from observed flows. Management interfaces and backup systems get separated first, because ransomware operators go looking for them.

  3. Secure web gateway and SSE policy, for example Microsoft Entra Internet Access. We scope TLS inspection carefully and add tenant restrictions, so staff can't sign in to personal cloud tenants from company devices.

  4. Shared vendor VPN accounts get replaced with named, time-limited access brokered through PAM or ZTNA. Where a contract requires it, sessions are recorded.

  5. Security groups, NSGs, cloud firewalls and private endpoints are defined in Terraform. Changes go through pull requests and get checked for public exposure before anyone runs apply.

  6. Protective DNS and outbound filtering that cut off command-and-control and exfiltration paths, with the logs sent to your SIEM.

capability 01 / 06in production

Firewall rule review and clean-up

Unused, shadowed and any-to-any rules found from hit counts and traffic logs, then removed in scheduled batches with owners signing off. Every rule that survives gets a ticket reference and an owner.

capability 02 / 06in production

Segmentation

Zones for user, server, management and OT networks, with allow rules built from observed flows. Management interfaces and backup systems get separated first, because ransomware operators go looking for them.

capability 03 / 06in production

Secure web and SaaS access

Secure web gateway and SSE policy, for example Microsoft Entra Internet Access. We scope TLS inspection carefully and add tenant restrictions, so staff can't sign in to personal cloud tenants from company devices.

capability 04 / 06in production

Vendor remote access

Shared vendor VPN accounts get replaced with named, time-limited access brokered through PAM or ZTNA. Where a contract requires it, sessions are recorded.

capability 05 / 06in production

Cloud network policy as code

Security groups, NSGs, cloud firewalls and private endpoints are defined in Terraform. Changes go through pull requests and get checked for public exposure before anyone runs apply.

capability 06 / 06in production

DNS and egress control

Protective DNS and outbound filtering that cut off command-and-control and exfiltration paths, with the logs sent to your SIEM.

typical situations

Situations we walk into

We pieced these together from Network Security situations that come up a lot. They're patterns. You won't find a specific client in them.

case file 01

4,000 firewall rules, and a third of them with no hits in a year

composite · not a client story
  1. Beforethe situation

    Two data center firewall pairs carry about 4,000 rules, many left from an old migration. Hit counts show a large share unused, dozens of any-to-any rules sit near the top, and quarter-end batch jobs make everyone wary of deleting anything.

  2. What we dothe work

    Collect hit counts across at least one full quarter-end, and tag each rule with a ticket and owner where one exists. Disable unused rules in batches with logging on a deny rule below them, and delete only after another clean cycle. Rebuild any-to-any rules from observed flows.

  3. Afterwhere you end up

    The rule base is smaller, and every rule left has an owner and a ticket. Quarter-end jobs ran during the disable period, so the deletions rest on evidence.

case file 02

Backup consoles reachable from the user VLAN

composite · not a client story
  1. Beforethe situation

    Backup servers, hypervisor management and iDRAC or iLO interfaces share a routed network with user laptops. In a tabletop, one stolen admin password got a ransomware operator all the way to the backup console.

  2. What we dothe work

    Move management interfaces and backup infrastructure into their own zone first, reachable only from PAM jump hosts. Build allow rules from a few weeks of flow logs, run them in monitor mode, then enforce. Give immutable backup copies credentials that live outside the main domain.

  3. Afterwhere you end up

    The only way to the backups and management interfaces now is a brokered admin session. Steal a user's password and you're stuck at the user tier.

case file 03

Azure NSGs edited in the portal during incidents

composite · not a client story
  1. Beforethe situation

    Production NSGs across several subscriptions get edited in the portal during incidents, and a few rules allowing RDP from any source were left behind. Terraform manages the VNets but not the rules.

  2. What we dothe work

    We import the existing NSGs into Terraform state and fold the rules into modules for each application tier. A pull request check blocks inbound internet rules on management ports. An Azure Policy assignment denies the same change if someone tries it in the portal.

  3. Afterwhere you end up

    Rule changes go through review now. RDP and SSH from the internet are blocked at two layers, and manual changes in the portal show up in the next Terraform plan.

case studies

Network Security case studies

All case studies
implementation Security operations

OT security baseline for plants and pipelines

Securing plants, substations and pipelines from a passive asset inventory up, with IEC 62443 zones and conduits and vendor access kept under control.

read the case study
modernization Security operations

VPN to zero trust network access

Retiring remote-access VPN one app at a time, and moving users to access that checks identity and device through Entra Private Access or your current ZTNA.

read the case study
migration Identity and access

On-premises Active Directory to cloud-first Microsoft Entra ID

We shrink on-premises Active Directory one application at a time, moving groups, users and app authentication to Microsoft Entra ID as each app is ready.

read the case study
migration Identity and access

AD FS federation to Entra ID authentication

Converting federated domains from AD FS to Entra ID cloud authentication, moving relying parties app by app and retiring the AD FS farm.

read the case study
upgrade Identity and access

Auth0 Rules and Hooks to Actions before end of life

Rewriting Auth0 Rules and Hooks as Actions before their 18 November 2026 end of life, with token claims compared before and after each change.

read the case study
modernization Privileged access

Centrify and Delinea Server Suite zones to modern server identity

Untangling Centrify and Delinea Server Suite zones, UID maps and dzdo roles, and moving Linux and Windows servers to a server identity model you can run.

read the case study
architecture

How traffic is filtered, segmented and logged across the estate

Traffic to the web and SaaS passes through a security service edge. Between internal zones, firewalls allow only flows we've actually observed. Cloud rules come from Terraform, and the SIEM collects firewall, DNS and SSE logs.

How traffic is filtered, segmented and logged across the estate Traffic to the web and SaaS passes through a security service edge. Between internal zones, firewalls allow only flows we've actually observed. Cloud rules come from Terraform, and the SIEM collects firewall, DNS and SSE logs. 01 · TRAFFIC SOURCES 02 · CONTROLS 03 · DESTINATIONS 04 · MONITORING web and SaaS inspected traffic DNS queries internal traffic brokered via PAM allow rules admin hosts only change window terraform apply traffic logs User devices office · remote Vendor remote access named · time-limited Ex Security serviceedge Entra InternetAccess Firewalls zone allow rules withowners Protective DNS egress filtering Cloud networkpolicy Terraform · NSGs ·security groups Internet and SaaS tenant restrictions Server zone apps · databases Management and backup isolated first OT network plant control systems Cloud VNets and VPCs private endpoints SIEM firewall · DNS · SSE logs
Read the diagram as text
  1. User devices → Security service edge: web and SaaS
  2. Security service edge → Internet and SaaS: inspected traffic
  3. User devices → Protective DNS: DNS queries
  4. User devices → Firewalls: internal traffic
  5. Vendor remote access → Firewalls: brokered via PAM
  6. Firewalls → Server zone: allow rules
  7. Firewalls → Management and backup: admin hosts only
  8. Firewalls → OT network: change window
  9. Cloud network policy → Cloud VNets and VPCs: terraform apply
  10. Firewalls → SIEM: traffic logs
how it runs

A typical engagement

We don't start a step until the last one has produced something you can check.

  1. step 01

    Collect

    Configurations, rule bases, traffic logs and diagrams. If the diagrams are out of date, flow captures instead.

  2. step 02

    Analyze

    Rule usage, internet exposure and segmentation gaps ranked by risk.

  3. step 03

    Change in batches

    We roll out the clean-up and the new segmentation through your normal change process. Each batch has its own rollback.

  4. step 04

    Codify

    Cloud rules and standard patterns moved into Terraform with review gates.

you keep

What you're left with

We write these for your Network Security setup, and they're working documents. Your team should be able to keep things running from them long after we've gone.

  • report01

    Rule base analysis with removal candidates

    yours to keep
  • design02

    Segmentation design and flow matrix

    yours to keep
  • guide03

    Secure web gateway or SSE policy set

    yours to keep
  • guide04

    Vendor remote access standard

    yours to keep
  • code05

    Terraform modules for cloud network controls

    yours to keep
  • plan06

    Change records and rollback plans per batch

    yours to keep
talent and delivery · network security

Certified engineers, wherever you need them.

Some clients want a project team, some want a couple of engineers on theirs. Either works. Onsite, nearshore or offshore, with handovers across time zones that keep things moving.

Onsite

Engineers at your sites in the US

Nearshore

Overlapping hours with US teams

Offshore

Overnight progress on your backlog

All time zones

Coverage handed over across time zones

24-hour coverage · US Central time
OnsiteUS business hours
Nearshoreoverlapping US hours
Offshoreovernight progress
Combinedhandover, not hand-off
roles we staff
  • Network security engineer
  • Firewall engineer
  • Cloud network engineer
  • SSE and ZTNA engineer
  • Network architect
01Which firewall vendors do you work with?

Rule analysis, segmentation design and flow mapping are largely vendor-neutral, so that part of the work applies to any platform. For hands-on configuration, tell us what you run and we'll say plainly where we can do the work and where your vendor's own services are the better choice.

02Should we buy a single-vendor SASE platform?

It depends on your contracts and how much of your estate already runs on Microsoft. One vendor makes policy and support simpler. Pairing Entra Internet Access with the firewall or ZTNA vendor you have can cost less if the licenses are already paid for. We compare the options on your real traffic. A feature grid won't tell you much.

03How do you clean up a rule base without causing outages?

With evidence. We read hit counts over a window long enough to catch the monthly and quarterly jobs. Rules get disabled before they're deleted, and each batch is scheduled for a time when the application owners are around.

04Do you work on OT and industrial networks?

Yes, on segmentation design and remote access, which is where most OT exposure sits. We work with your control engineers, follow plant change windows, and plan changes on control networks more conservatively than IT changes.

05We already use CloudFormation or Bicep. Can you still manage our cloud network rules in Terraform?

Yes, though we'd usually extend whichever tool already manages your network so there's one source of truth. If you're consolidating on Terraform, we import existing resources into state first so nothing gets destroyed and recreated.

related

Often paired with

Projects on Network Security usually end up touching one of these, so they're worth a look.

sources 1 source linked last checked 2026-10-20 content fingerprint dbfd0f4b
  1. 01Microsoft Learn: What is Global Secure Access (Entra Internet Access and Private Access)learn.microsoft.com ↗
Reviewed by the Cohash team Product names are trademarks of their owners. how we handle facts and data →
next step

Tell us what you're running. We'll tell you what we'd do first.

A 30-minute working session with a senior engineer. No slides.

useful to bring
  • The platform and the version you're on
  • Where you need to get to, and by when
  • What's custom: rules, plugins, integrations
  • Any audit finding or deadline driving it