Free tech learning for everyone, from basics to pro

Port 1812: RADIUS (Remote Authentication Dial-In User Service)

What port 1812 (UDP) does, the security risks of leaving it open, and how to secure and test it.

Port1812
TransportUDP
ServiceRemote Authentication Dial-In User Service (RADIUS)
EncryptedPartial (passwords obscured)

What is port 1812?

RADIUS checks logins for Wi-Fi (WPA2/WPA3-Enterprise), VPNs and network devices against a central server. UDP 1813 carries accounting.

Common uses

  • 802.1X Wi-Fi and wired network access
  • VPN and firewall logins
  • Network device administrator logins (often with TACACS+ on 49 instead)

Security risks

  • Weak shared secrets between devices and the RADIUS server
  • Older protocol weaknesses such as the Blast-RADIUS attack against MD5

How to secure port 1812

  • Use long, random shared secrets and keep servers patched
  • Require the Message-Authenticator attribute, or use RADIUS over TLS (RadSec)
  • Only allow known network devices to reach the server

How to check if port 1812 is open

WhereCommand
Scan from another machinenmap -sU -p 1812 <host>
Linux (what is listening)sudo ss -tulpn | grep :1812
Windows (what is listening)netstat -ano | findstr :1812

Only scan systems you own or have permission to test.

Example: block it at the internet edge (Cisco)

For a service that should stay inside your network, deny it on the internet-facing interface. Put the rule before any broader permit statements:

ip access-list extended INTERNET-IN
 remark Block RADIUS from the internet
 deny   udp any any eq 1812
 permit ip any any
!
interface GigabitEthernet0/0
 ip access-group INTERNET-IN in

In a real network the final line would be your normal inbound policy, not "permit ip any any". Build and check rules with the ACL builder.

Related ports

Frequently asked questions

What is port 1812 used for?

Port 1812 (UDP) is used by Remote Authentication Dial-In User Service (RADIUS). RADIUS checks logins for Wi-Fi (WPA2/WPA3-Enterprise), VPNs and network devices against a central server.

Is it safe to open port 1812?

Only if the service needs to be reached and is configured securely. Use long, random shared secrets and keep servers patched.

How do I check if port 1812 is open?

From another computer, run nmap -p 1812 followed by the host address with -sU for UDP. On the server itself, ss -tulpn on Linux or netstat -ano on Windows shows whether anything is listening on 1812.

Learn more: TCP, UDP and ports explained and firewall basics.

Get free updates by email

New notes, tools, CCNA and Security+ tips and important security news from FM TecHub, explained simply. Free, about twice a month. Unsubscribe anytime; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesup

Free · no spam · past emails · powered by Buttondown