Port 51820: WireGuard

WireGuard VPN's default port. Safe to expose: WireGuard stays silent to anyone without a valid key.

  • Free
  • No Sign-Up
  • Runs in Your Browser

Examples:

Ports

1 of 41

Port Lookup

Port 51820 at a glance

Port51820
ProtocolUDP
ServiceWireGuard
Open to the Internet?Yes, if you run this service publicly
See What Is Listeningss -lntup | grep ':51820 '
Test From Outsidenmap -sU -p 51820 your-server
Block with UFWufw deny 51820/udp
Block with nftablesnft add rule inet filter input udp dport 51820 drop

WireGuard uses UDP port 51820. WireGuard VPN's default port.

Safe to expose: WireGuard stays silent to anyone without a valid key.

Open port 51820 only on servers that run WireGuard, and keep the software patched: public services are scanned within minutes of going online.

Questions

What is port 51820 used for?
WireGuard. WireGuard VPN's default port.
Is it safe to open port 51820?
Yes, if you run this service publicly. Safe to expose: WireGuard stays silent to anyone without a valid key.
How do I check if port 51820 is open?
On the server, ss -lntup | grep ':51820 ' shows what is listening. From another machine, nmap -sU -p 51820 your-server shows whether the firewall lets it through.
How do I block port 51820?
With UFW: ufw deny 51820/udp. With nftables, add a drop rule for dport 51820 in your input chain.

Abuse from open ports on your VMs?

Frabs spots amplification, scans and floods leaving any VM and stops them, without touching your firewall.