Port reference › Directory & auth

Port 1812 · RADIUS authentication

Wi-Fi, VPN and device login auth

UDP Directory & auth Exposure risk: Medium

What is port 1812 used for?

RADIUS authentication, used for enterprise Wi-Fi (802.1X), VPNs and network device admin logins. Accounting uses 1813.

Registered port (1024-49151): the range used by ordinary applications.

Security notes

Use a long shared secret and allow only NAS (requesting device) IPs.

Allow port 1812 through the firewall

This port is risky to expose, so the commands below allow only the IPs you specify.

# Replace 203.0.113.10/32 with the IP or network you want to allow
sudo ufw allow from 203.0.113.10/32 to any port 1812 proto udp
sudo ufw status

Check whether port 1812 is open

sudo ss -ulpn | grep ':1812 '

Ports used together

Other directory & auth ports

389 LDAP 636 LDAPS 88 Kerberos 135 MS RPC