← Back to all network ports
UDP
Vulnerable

161 SNMP

SNMP exposes monitoring and device-management data for switches, routers, printers, and appliances.

Security Context

Port 161 is high-risk when broadly exposed. Treat it as an attack-surface decision, not just a connectivity setting, and confirm whether the listener truly needs to be reachable.

  • !Default community strings and broad SNMP exposure remain common risks.

Nmap Check

Use a version probe first so you confirm whether the expected service is really what is listening on this port.

nmap -sU -p 161 <host>

Firewall Commands

UFW
sudo ufw allow 161/udp
iptables
sudo iptables -A INPUT -p udp --dport 161 -j ACCEPT

Related UDP Ports