Guide

Why your VPN gets blocked and what helps

Last updated: 30 November 2026

A VPN encrypts what you send, but it does not automatically hide that you are using a VPN. Networks and websites have several ways to notice. Knowing which one is stopping you saves a lot of random setting changes.

Instant VPS from $7.99 a month

See Instant VPS plansHow ordering works

Blocking by address

The simplest method is a list. Companies that sell IP intelligence label addresses that belong to VPN services or hosting companies; MaxMind, for instance, publishes data with separate flags for VPN providers and hosting providers. A website can then refuse, challenge or restrict those visitors.

Signs: the VPN connects fine and most things work, but certain sites show a block page or endless captchas. Changing protocol does not help, because the site only sees the exit address.

A server of your own may not appear on a VPN-specific list, but its address is still in a hosting range and may be treated accordingly. A network can also block your server's address outright, in which case nothing sent to it arrives.

Blocking by port and protocol type

Many offices, schools and hotels allow only common traffic, such as web browsing. WireGuard runs over UDP only, so a network that drops most UDP stops it. Other VPNs may use ports that are simply not open.

Moving the VPN to a different port can get past a basic port filter. Running over TCP port 443, the usual HTTPS port, can pass stricter ones if your VPN supports TCP. WireGuard does not support TCP by design; tunnelling TCP inside TCP performs badly. Wrapper tools exist, but they add moving parts.

Note the limit: using port 443 does not make VPN traffic look like HTTPS. It only changes the number on the door.

Deep packet inspection

Deep packet inspection (DPI) looks at the shape and first bytes of traffic, not just the port. Encryption hides the contents, but handshakes often have recognisable structure.

Timing and packet sizes can give further hints even when headers are disguised.

Active probing

Here the censor does not just watch. When it suspects a server, it connects to it itself and sends crafted data to see how it reacts. A reply that only a proxy would give confirms the suspicion. This has been documented against Shadowsocks servers.

WireGuard does not answer unauthenticated packets at all, which makes simple probing uninformative, though it can still be recognised passively. Some other tools answer probes by behaving like an ordinary website: Xray's REALITY, for example, passes connections that fail its authentication on to a real target site.

This is also why leaving extra services open on a VPN server matters. Each visible port is one more thing that describes what the machine is for.

Diagnose before you change things

  1. Try the same VPN on another network, such as mobile data. If it works there, the first network is filtering.
  2. Check that the server is up and its address reachable from your connection. See checking VPS IP reachability.
  3. For WireGuard, run sudo wg show. No "latest handshake" suggests the packets are not getting through, or a key, address or port is wrong.
  4. On the server, run sudo tcpdump -ni any udp port 51820 (use your port) while the client connects. No packets arriving points to something between you and the server, or a firewall in front of it.
  5. If it connects and then stalls on large pages, try a lower MTU before assuming a block.

What may help depends on the result:

CauseWorth tryingWill not help
Website blocks the exit addressA different exit, or no VPN for that siteChanging protocol
Port or UDP filteringAnother port, or a TCP-based optionStronger encryption
DPI on the protocolA tool built for obfuscation, such as AmneziaWG or VLESS with REALITYOnly changing the port
Server address blockedA different addressReconfiguring the same one

AmneziaWG, a modified WireGuard, changes packet headers and sizes and sends junk packets before a session. Such tools make recognition harder; none can promise to stay unblocked, and filtering methods change. See our protocol comparison.

Rules, risk and testing first

Before working around a block, check the law where you are and the rules of the network. At work or school, ask the administrator, and be aware that in some places circumvention itself carries risk. If you plan to host your own endpoint with us, test the test IPs from your network first and ask support before ordering; use must follow the acceptable use policy and the law.

Questions and answers

Why does my VPN work at home but not at the office?
The office network probably restricts ports, protocols or known VPN destinations. Ask the administrator what is permitted.

Will running WireGuard on port 443 hide it?
It may pass a simple port filter if UDP on that port is allowed, but packet inspection can still recognise WireGuard.

Does stronger encryption prevent detection?
No. Detection usually relies on addresses, packet structure, sizes and server behaviour, not on breaking encryption.

Is there a protocol that cannot be blocked?
No. A network operator can block addresses or whole classes of traffic. Obfuscation only raises the effort needed to single you out.

Related guides

Ready to try it? Instant VPS from $7.99 a month

See Instant VPS plansHow ordering works