Port 67: DHCP Server

Hands out IP addresses on a local network (clients use port 68). Only meaningful on a local network. A rogue DHCP server on a shared VLAN can hijack other machines' traffic.

  • Free
  • No Sign-Up
  • Runs in Your Browser

Examples:

Ports

1 of 41

Port Lookup

Port 67 at a glance

Port67
ProtocolUDP
ServiceDHCP Server
Open to the Internet?No, keep it on a private network
See What Is Listeningss -lntup | grep ':67 '
Test From Outsidenmap -sU -p 67 your-server
Block with UFWufw deny 67/udp
Block with nftablesnft add rule inet filter input udp dport 67 drop

DHCP Server uses UDP port 67. Hands out IP addresses on a local network (clients use port 68).

Only meaningful on a local network. A rogue DHCP server on a shared VLAN can hijack other machines' traffic.

If ss shows something listening on port 67 on a public address, bind it to 127.0.0.1 or a private interface in the service's own configuration, and drop the port in the firewall as well.

Questions

What is port 67 used for?
DHCP Server. Hands out IP addresses on a local network (clients use port 68).
Is it safe to open port 67?
No, keep it on a private network. Only meaningful on a local network. A rogue DHCP server on a shared VLAN can hijack other machines' traffic.
How do I check if port 67 is open?
On the server, ss -lntup | grep ':67 ' shows what is listening. From another machine, nmap -sU -p 67 your-server shows whether the firewall lets it through.
How do I block port 67?
With UFW: ufw deny 67/udp. With nftables, add a drop rule for dport 67 in your input chain.

Abuse from open ports on your VMs?

Frabs spots amplification, scans and floods leaving any VM and stops them, without touching your firewall.