UDP · Port 67IANA Registered

Port 67 — DHCP Server

Dynamic Host Configuration Protocol server port, listening for discovery and request broadcasts from connecting network clients.

⚡ Primary Use Cases & Environments

  • ✓Routers leasing IP addresses to LAN devices
  • ✓Enterprise DHCP servers (Kea, ISC DHCP)

🛡️ Security & Vulnerability Analysis

Rogue DHCP servers on a local network can assign malicious gateway or DNS settings (man-in-the-middle). Protect switches with DHCP Snooping.

🔧 Network Diagnostics & Inspection

1. Check Active Listening Sockets (Local Host)
Terminal Command
$ sudo ss -uln | grep :67
Inspects whether any local process daemon is bound to port 67.
2. Remote Port & Service Scan (Nmap)
Terminal Command
$ nmap -p 67 -sU <target-ip>
Probes target IP to determine whether port 67 is open, closed, or filtered.
3. Wireshark Capture / Display Filter
bootp or dhcpWireshark Filter

🔥 Firewall Configuration Rules (UFW & iptables)

UFW (Uncomplicated Firewall)
Terminal Command
$ sudo ufw allow 67/udp
Applies a persistent Linux UFW firewall rule for port 67.
iptables Command
Terminal Command
$ sudo iptables -A INPUT -p udp --dport 67 -j ACCEPT
Appends a direct netfilter kernel rule to the INPUT chain for port 67.

❓ Frequently Asked Questions (FAQ)

What is the relationship between port 67 and port 68?

DHCP servers listen on UDP port 67, while DHCP clients listen on UDP port 68 for lease offer and acknowledgement responses.

What are the 4 steps of DHCP negotiation?

DORA: Discover (client to 255.255.255.255:67), Offer (server to client:68), Request (client chooses lease:67), Acknowledgement (server confirms:68).

Related Networking Tools & Guides