UDP port
Port 1812: RADIUS
UDP port 1812 is RADIUS authentication: a switch, access point or VPN gateway asks one central server whether to let a user in. UDP port 1813 carries the accounting: who was connected, and for how long.
- The device that asks and the server share a secret; a request from a device the server does not know is ignored.
Check port 1812 on Linux
Put the server's name or address in place of HOST.
ss -ulnp 'sport = :1812'- On the server: is a program listening on UDP port 1812, and which? How to read ss.
tcpdump -ni any udp port 1812- On either end: the datagrams to and from UDP port 1812. With UDP this is the sure test, since nothing is acknowledged. How to read tcpdump.
nmap -sU -p 1812 HOST- From outside: a UDP scan of port 1812. No answer reads open|filtered: UDP does not say which. How to read nmap.
What runs on it
- RADIUS
- The protocol switches, access points and VPN gateways use to ask one central server whether to let a user in.
- AAA for device logins (RADIUS and TACACS+)
- Routers and switches asking a central server who may log in, at what privilege, and recording each session.
- 802.1X and EAP
- Port login: a switch port (or Wi-Fi association) passes only login frames until the device proves who is using it.
Use port 1812 on real machines
- AAA with RADIUS: who logged in, what they could do, how long they stayed
- 802.1X: a login for the network jack
Open AAA with RADIUS: who logged in, what they could do, how long they stayed