Port reference › Directory & auth
Port 1813 · RADIUS accounting
RADIUS session records
UDP Directory & auth Exposure risk: Low
What is port 1813 used for?
RADIUS accounting (session start and stop records).
Registered port (1024-49151): the range used by ordinary applications.
Security notes
Apply the same restrictions as the authentication port.
Allow port 1813 through the firewall
This port is generally fine to expose publicly.
sudo ufw allow 1813/udp
sudo ufw status sudo firewall-cmd --permanent --add-port=1813/udp
sudo firewall-cmd --reload sudo iptables -A INPUT -p udp --dport 1813 -j ACCEPT New-NetFirewallRule -DisplayName "Allow UDP 1813" -Direction Inbound -Protocol UDP -LocalPort 1813 -Action Allow # Replace sg-0123456789abcdef0 with your security group ID
aws ec2 authorize-security-group-ingress --group-id sg-0123456789abcdef0 --protocol udp --port 1813 --cidr 0.0.0.0/0 Check whether port 1813 is open
sudo ss -ulpn | grep ':1813 ' netstat -ano | findstr :1813 nc -zuv SERVER 1813
# UDP can look "open" even with no reply, so do not trust this alone.
# Testing with a real client for the service is more reliable. sudo lsof -i :1813 Ports used together
- 1812 RADIUS authentication · Wi-Fi, VPN and device login auth