PortGate

Resources · Port reference · port 161

Port 161 (SNMP): what it is and how to secure it

SNMP community strings are passwords, and the default ones are public.

Check command

ss -tulpn | grep 161

Copied.

Disable SNMP, or bind it to a management network with SNMPv3. UDP 161 on 0.0.0.0 with community public is a full inventory leak.

ss -tulpn | grep 161

A 0.0.0.0 or :: address is a public listener. 127.0.0.1 is local.