Skip Navigation

Which port to run Wireguard on

By default most people run Wireguard on port 51822. This of course shows that you are running a VPN. Is it better to run on another port, for example 443? But I heard that some ISPs frown on that.

What do the folks here think?

8 comments
  • Changing ports isn’t a terrible thing, also not the perfect “fix” either, as you can still recognize open ports and scan the service on them.

    Some ports are reserved in networking, so should stay away from those.

    Some ISPs don’t allow you open ports on 80/443 as those are web hosting ports and they provide a service to consumers to download content from the internet, not for their consumer to be a web hosting provider as well. That’s at the residential level, if you have a business plan that might change, but it might be hard to convince and ISP otherwise.

  • Just change the port slightly, like 51831 or something. That will help a bit, but VPN traffic can be identified regardless of what port it's on.

  • I used 51968 when I still had WG in use (switched back to the old setup). Anything besides the default (51820 when I used DDG correctly) should be fine. I wouldn't use 443 as that's reserved for https, unless you want loads of https probes to be handled by wg ;) )

8 comments