Conventional default listen port for WireGuard (wg-quick examples, Tailscale and many routers use other ports). Not an IANA assignment; it is in the dynamic range.
Port 51820 is normally used over UDP; the checker tests TCP only, so a "filtered" result does not mean the UDP service is down.
Conventional default listen port for WireGuard (wg-quick examples, Tailscale and many routers use other ports). Not an IANA assignment; it is in the dynamic range.
Meant to face the internet. Safe to expose: WireGuard does not answer packets that are not signed with a known peer key, so port scans see nothing. The port only needs to be open on the side that receives connections.
Port 51820 is in the dynamic range, which IANA never assigns. The usage above is unofficial but widespread.
sudo ss -ulnp 'sport = :51820'sudo lsof -nP -i :51820netstat -ano | findstr :51820Get-NetUDPEndpoint -LocalPort 51820nc -vzu -w 5 HOST 51820sudo ufw allow 51820/udpsudo iptables -A INPUT -p udp --dport 51820 -j ACCEPTsudo nft add rule inet filter input udp dport 51820 acceptNew-NetFirewallRule -DisplayName 'Allow UDP 51820' -Direction Inbound -Protocol UDP -LocalPort 51820 -Action AllowAll port numbers · Open port checker
Assignment data: IANA port number registry (public domain), retrieved 2026-11-10.