Keep the management plane off the guest network

SSH, hypervisors, database ports, and switch admin interfaces are not guest services. They live on a network a guest, a camera, and the open internet cannot route to.

Lesson 17 of 17 · 14 min read · practice only with authorization

Diagram

From a guest segment to a management port that should not answer

Follow the path. One example at a time.

Step 1 of 4

Guest

Visitors, personal devices, and IoT join a segment that only needs the internet and maybe a printer you chose.

Illustration: guests have no route to admin
# A guest segment can reach the internet.
# It cannot reach management interfaces.
What changes the outcome
Guest

Can route to the database and the switch.

Internet

Can reach SSH.

Identity

A shared password on the device.

The example on the open step is one illustration, or the fix you can paste into an application you own.

What this page is made of

4 pieces. Each one says what fails, who is affected, what you would notice, and what you change.

  1. Admin ports are applications

    What fails
    SSH, RDP, hypervisor consoles, and switch UIs are logins. A route to them is exposure, whatever the VLAN diagram hoped.
    Who is affected
    Everyone who depends on the systems those logins can change.
    What you would notice
    A scan you were allowed to run that shows admin ports on the guest or public segment.
    What you change
    Move them. Do not “monitor” a public SSH and call it accepted risk without an owner and an expiry.
  2. The data tier is not a workstation network

    What fails
    Databases that accept connections from guests or from laptops have skipped the application that was supposed to authorize the query.
    Who is affected
    The people in the database.
    What you would notice
    A security rule that allows the whole office or the guest range to the database port.
    What you change
    Allow the application tier only. Administrators reach it through a bastion or a managed access product that uses your identity provider.
  3. Identity on the device

    What fails
    Network gear with a shared password and no log is a cloud account from ten years ago. Put it on the identity provider or on a local account you can name and revoke.
    Who is affected
    The network’s users, if the device can reroute them.
    What you would notice
    A vendor default still set, or a password in the wiki.
    What you change
    Change the default. Tie admin to a person. Log the sign-in.
  4. Egress from the data tier

    What fails
    A database that can open arbitrary outbound connections is a path for data to leave even when inbound rules look tight.
    Who is affected
    The people whose rows can be copied out.
    What you would notice
    A default route to the internet from the data subnet.
    What you change
    Deny egress except to the resolvers, patch sources, and services you listed.

Reachability is the finding

Management interfaces are how you change the network, the virtual machines, and the switches. They are often protected by a password that shipped with the device or a key that lives on a jump box everyone can use. Putting them on the same segment as guests, or on a public address because that was easy to remember, makes that password the production boundary.

The same picture includes databases and message brokers. They are not management, and they are not for guests either. The application tier is the client. Laptops go through an access path that authenticates a person and writes a log. A security group that lists the office range is how a stolen laptop becomes a SQL client.

The device has to know who signed in

Move device administration to the identity provider you already hardened, or to certificates you can revoke. A shared admin password cannot survive someone leaving the team. Log the sign-in to the same place you log cloud sign-ins, with time in sync so the network event and the identity event can be one story.

Bastions and managed access products are fine when they are the only path and they use that identity. A bastion plus a public SSH “for emergencies” is two paths. Emergencies become the daily path. Close the second one, and drill the first so the emergency still works.

Outbound is part of the plane

A tight inbound rule and a wide outbound rule means anything that lands on the host can call home. Data tiers and management hosts should not resolve and fetch the world. Allow the update source, the resolver, and the log destination. Deny the rest. This is the egress lesson applied to the systems that can do the most harm.

You would notice admin ports in a scan of the guest range, a database rule that includes that range, a default password, and a default route from the data subnet. The people affected are the users of those systems. The change is the route and the identity. Do not include a working login in the note.

What you change

Draw the management network. Move interfaces onto it. Delete public addresses and guest routes. Point admin authentication at the identity provider. Restrict database clients to the application tier. Restrict egress. Then scan again, from a guest and from the outside, under a change window you were allowed to use, and expect silence on those ports.

Read the wireless isolation page if the guest path is a radio, and the cloud security-group pages if the “segment” is a security group. The sentence is the same: administration is not a feature of the guest network.

Check yourself

Recognition and the fix. Nothing here is a procedure.

1 / 3

The guest Wi-Fi can open SSH on the hypervisor and the database port. What failed?

Sibling techniques

Pages at the same depth, plus a lab and a glossary card for this one.

  1. MapKeep the management plane off the guest networkSSH, hypervisors, database ports, and switch admin interfaces are not guest services.
  1. 01Which resolver and which DHCP server you trustHosts believe the answers they are given for names and for their own address.

Practice

  1. LabTerminal mission: Database ports published to the worldA Compose file publishes ports for five services. Work out which ones listen on every interface, which are bound to localhost only, and why the host firewall does not save you.