Port 67: DHCP server

Port 67 (UDP) is used by DHCP server. DHCP and BOOTP server side. Clients broadcast to this port to get an IP address.

67Port
UDPProtocol
bootpsIANA service name
Network infrastructureCategory

Port range

67 is a well-known (system) port (range 0–1023). On Linux and macOS, binding to it traditionally needs root or the CAP_NET_BIND_SERVICE capability.

Security

Only open port 67 to the hosts that need it. Prefer the encrypted variant of the protocol where one exists.

Open port 67 in a firewall

ufw         sudo ufw allow 67/udp
iptables    sudo iptables -A INPUT -p udp --dport 67 -j ACCEPT
firewalld   sudo firewall-cmd --permanent --add-port=67/udp
Windows     New-NetFirewallRule -DisplayName "DHCP server 67" -Direction Inbound -Protocol UDP -LocalPort 67 -Action Allow

Check if port 67 is open

nc -vzu example.com 67   # UDP checks are unreliable: no reply ≠ closed
sudo ss -tulpn | grep ':67 '   # what is listening locally (Linux)

Other network infrastructure ports

Frequently asked questions

What is port 67 used for?
DHCP server. DHCP and BOOTP server side. Clients broadcast to this port to get an IP address.
Is port 67 TCP or UDP?
UDP.