Port 464: Kerberos password change

Port 464 (TCP/UDP) is used by Kerberos password change. Kerberos change/set password protocol.

464Port
TCP/UDPProtocol
kpasswdIANA service name
Authentication & directoryCategory

Port range

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

Open port 464 in a firewall

ufw         sudo ufw allow 464/tcp
            sudo ufw allow 464/udp
iptables    sudo iptables -A INPUT -p tcp --dport 464 -j ACCEPT
            sudo iptables -A INPUT -p udp --dport 464 -j ACCEPT
firewalld   sudo firewall-cmd --permanent --add-port=464/tcp
            sudo firewall-cmd --permanent --add-port=464/udp
Windows     New-NetFirewallRule -DisplayName "Kerberos password change 464" -Direction Inbound -Protocol TCP -LocalPort 464 -Action Allow

Check if port 464 is open

nc -vz example.com 464
Test-NetConnection example.com -Port 464   # PowerShell
sudo ss -tulpn | grep ':464 '   # what is listening locally (Linux)

Other authentication & directory ports

Frequently asked questions

What is port 464 used for?
Kerberos password change. Kerberos change/set password protocol.
Is port 464 TCP or UDP?
Both are assigned. Check which one your software actually listens on.