NEW Check if your VPN is honest — a free subscription audit in 60 seconds →
← Back to library
Bypass Practice

VPN not working: find the failing layer

A green node in the panel, an open port, and an HTTPS site answer different questions. Follow the path from the client’s complaint to the specific failure, with short commands and an expected result at each stage.

The goal is to find the first failing stage: DNS, connection to the address, TLS, configuration delivery, or data transfer. Investigate that stage before changing the other settings.

Record one reproducible case

First check subscription expiry and access status. Then record the time, application and version, selected node, network type, and exact symptom. “Connects, but one site does not open” differs from “cannot establish a connection.” Repeat the check on Wi-Fi and mobile data with the same node.

A difference between networks narrows the investigation but does not by itself prove DPI. DNS, IPv6, the route to the address, UDP reachability, or application settings can cause it. A test from an overseas server also does not establish reachability from the client’s phone.

1. DNS must return the expected address

From a machine on the affected network, check both records:

dns-check.sh
dig +short A your-domain.com
dig +short AAAA your-domain.com

The result should be the expected address of the node or entry server. An empty or incorrect response means DNS needs investigating first. With a CDN, the result will be the CDN address; distinguish it from the origin. Check AAAA separately: a working A record does not compensate for a broken IPv6 route. The command and query types are described in the dig manual.

A temporary address override for one diagnostic request is more useful than changing DNS globally for all clients. It tests the hypothesis while keeping other conditions unchanged.

2. An open TCP port is not yet a VPN

Run this check from a Linux machine on the required network:

tcp-check.sh
nc -vz -w 5 your-domain.com 443

Success means that a TCP connection was established. A timeout does not automatically identify who filtered the packets. Compare it with a test from another network and the listener state on the node:

listener-check.sh
sudo ss -lntp 'sport = :443'

Check that the expected process is responding. Keep the firewall in place while diagnosing. Further investigation compares specific rule counters and incoming packets from an agreed test source while retaining administrative restrictions.

3. Verify TLS with the correct name

For an HTTPS site on the node or an ordinary TLS endpoint:

tls-check.sh
openssl s_client -connect your-domain.com:443 \
  -servername your-domain.com -verify_hostname your-domain.com \
  -verify_return_error -brief </dev/null

The expected result is Verification: OK and a certificate for the correct name. -verify_return_error matters: the diagnostic s_client can otherwise continue after a verification error. This behavior is explicitly documented by OpenSSL. If the command hangs, stop it with Ctrl+C: that is a useful symptom rather than a reason to wait indefinitely.

With Selfsteal, a browser check verifies the target site, not VPN authorization. A certificate alone does not establish that REALITY works; keep certificate verification enabled during the check.

4. Separate DNS from web reachability

This one-off request tests a known address while retaining the domain name:

https-check.sh
curl --noproxy '*' --resolve your-domain.com:443:192.0.2.10 \
  --connect-timeout 5 --max-time 15 --silent --show-error \
  --output /dev/null --write-out 'HTTP %{http_code}\n' \
  https://your-domain.com/

Replace the domain and example address with your own. --resolve sets the name-to-address mapping for this request while HTTPS verification remains enabled. The option is described in the curl manual. If the ordinary request failed but the --resolve request succeeds, investigate name resolution and address selection. The HTTP status still describes only the web service.

5. Check the access actually delivered

Update the subscription in the application and check that the required node appears. Then verify the chain: profile → enabled node inbound → Host → user access through a squad. Check expiry, status, and the device limit while preserving existing keys.

An import without errors does not establish that the client core applies every parameter. Compare the transport, port, SNI, and public REALITY parameters. The node’s private key never belongs in a client link. HTTP 200 from the subscription page also does not prove that the application received a compatible configuration.

6. Test data transfer and select the next check

Establish an authenticated tunnel. Open a small HTTPS resource, test the intended application, uploads, and downloads, then repeat after idle time. Calls need a separate call test: opening a site does not verify media traffic.

Observation Next check
TCP cannot connect from one network Address, IPv4/IPv6, and the path from that network
TCP connects but TLS fails Name, certificate, target, and the TLS error
The site opens but the tunnel cannot be established Client compatibility and access parameters
The tunnel works but some applications fail DNS, routing, and the particular application’s protocol

“YouTube freezes” is not a reason to automatically block UDP/443: that also affects other UDP/QUIC connections. Test such a hypothesis by changing one parameter in a separate test profile, comparing the result, and restoring the original state. Apply the same checks from the required network before accepting a backup as working.

To continue the investigation, prepare the time, application version, selected node, network type, and first failing stage. Do not post subscriptions, HWIDs, tokens, or full logs in a public chat. Share the required excerpts through an agreed private channel.

Next guide WARP on the exit: why and what it gives → ↗ Article unclear or something off? Message me and I will help or fix it. @notrealvpn →
This material is educational and covers network-infrastructure engineering. You are responsible for complying with the laws of your jurisdiction.