Port 1812: RADIUS authentication

Port 1812 (UDP) is used by RADIUS authentication. Wi-Fi enterprise (802.1X) and VPN logins check credentials against RADIUS here.

1812Port
UDPProtocol
radiusIANA service name
Authentication & directoryCategory

Port range

1812 is a registered port (range 1024–49151). Any user can bind to it; IANA records which service registered the number.

Security

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

Open port 1812 in a firewall

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

Check if port 1812 is open

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

Other authentication & directory ports

Frequently asked questions

What is port 1812 used for?
RADIUS authentication. Wi-Fi enterprise (802.1X) and VPN logins check credentials against RADIUS here.
Is port 1812 TCP or UDP?
UDP.