Port 546: DHCPv6 client

Port 546 (UDP) is used by DHCPv6 client. DHCP for IPv6, client side.

546Port
UDPProtocol
dhcpv6-clientIANA service name
Network infrastructureCategory

Port range

546 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 546 to the hosts that need it. Prefer the encrypted variant of the protocol where one exists.

Open port 546 in a firewall

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

Check if port 546 is open

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

Other network infrastructure ports

Frequently asked questions

What is port 546 used for?
DHCPv6 client. DHCP for IPv6, client side.
Is port 546 TCP or UDP?
UDP.