Unify Router Cannot Ping VPN Server: How to Troubleshoot the Connection

Find out why a UniFi router or VPN client cannot ping a server and how to check routing, firewall rules, and DNS.
If your UniFi router cannot ping a VPN server, first check whether the VPN is connected and whether the router has a route to the server’s network. Then test using the server’s IP address, inspect firewall rules on both ends, and confirm the server allows ping requests. VPN connectivity alone does not guarantee that traffic is routed or permitted between the router and server.
Editor's pick: NordVPN — fast, secure VPN — Strong encryption, a no-logs policy and apps for every device. 30-day money-back guarantee. Get NordVPN →
Compare ping results to identify which connection is failing
| Test | Ping result | Likely issue | Check next |
|---|---|---|---|
| Router to VPN server IP | Replies | Server is reachable | Check VPN tunnel or routing |
| Router to VPN server IP | No replies | Path or server may be blocked | Check routes and firewalls |
| Router to another public IP | Replies | General internet path works | Focus on VPN path |
| Router to another public IP | No replies | General connectivity issue | Check WAN and default route |
| VPN client to server IP | Replies | Client path works | Compare router path and rules |
| VPN client to server IP | No replies | Server or VPN path may be unavailable | Check server status and access rules |
| Router to VPN server hostname | No replies, IP works | DNS may be failing | Check DNS resolution |
| Router to VPN server hostname | Replies | Name resolution and path work | Investigate tunnel or policy behavior |
Compiled November 2026; check the provider's site for current details.
| VPN | Obfuscation | From / month | Plan | Free plan | Refund | Alipay | UnionPay | Crypto | Website opens in China | Trustpilot | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Turn on manually Shadow | $2.49/mo | 27 months: $59.99 | Yes | 7 days | ✓ | ✓ | ✓ | ✓ | Official site blocked; our special link opens (4.4 s) | 4.2/5 (195 reviews) | |
| Turn on manually Obfuscated Servers / NordWhisper | $3.49/mo | 27 months: $94.23 | No | 30 days | ? | ✗ | ✓ | ✓ | ✗ Blocked | 4.2/5 (51,628 reviews) | |
| ✓ On by default all servers | $3.00/mo | 28 months: $84 | No | 30 days | ✗ | ✗ | ✓ | ✗ | ✗ Blocked | 4.4/5 (29,706 reviews) | |
| ✓ On by default Camouflage, with OpenVPN | See site | See site | No | 30 days | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 4.3/5 (31,823 reviews) | |
| Turn on manually Stealth, free plan too | $2.99/mo | 12 months: $35.88 | Yes | 30 days | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 2.1/5 (1,040 reviews) | |
| Turn on manually StealthVPN / OpenWeb | $12.50/mo | 24 months: $300 | No | See site | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 1.3/5 (110 reviews) | |
| Turn on manually Shadowsocks, OpenVPN only | $2.03/mo | 40 months: $81.2 | No | 30 days | ✗ | ✗ | ✗ | ✗ | ✗ Blocked | 4.2/5 (11,033 reviews) | |
| Turn on manually selected servers | $2.19/mo | 28 months: $61.32 | No | 45 days | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 4.0/5 (24,178 reviews) | |
| Turn on manually switch to OpenVPN | $1.69/mo | 60 months: $101.55 | No | 31 days | ? | ? | ✗ | ✓ | ✗ Blocked | 4.4/5 (17,994 reviews) | |
| ✓ On by default TrustTunnel | $2.99/mo | 24 months: $71.76 | Yes | 30 days | ✓ | ✗ | ✓ | ✓ | Official site blocked; our special link opens (3.7 s) | 4.3/5 (290 reviews) | |
| Turn on manually QUIC / Shadowsocks / LWO | $5.61/mo | €5/mo | No | 14 days | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 3.2/5 (192 reviews) | |
| Turn on manually Stealth / WStunnel | $5.75/mo | 12 months: $69 | Yes | See site | ✗ | ✗ | ✗ | ✓ | ✗ Blocked | 4.7/5 (13,355 reviews) | |
| Turn on manually Scramble, OpenVPN TCP | See site | See site | No | 30 days | ✓ | ✗ | ✗ | ✗ | ✗ Blocked | 4.4/5 (2,695 reviews) | |
| Not listed | $7.08/mo | 12 months: $84.99 | Yes | 30 days | ✓ | ✓ | ✓ | ✓ | ✓ Yes (3.5 s) | No page |
Prices checked 2026-11-10 on each vendor's pricing page (cheapest long plan, USD). Check the vendor's checkout for the final price.
Obfuscation checked 2026-11-14 on each vendor's site and help center: "on by default" = nothing to set; "turn on manually" = switch protocol or mode in settings; "not listed" = the vendor describes no obfuscation.
Payment methods checked 2026-11-10 on each vendor's payment pages: all 14 take cards and PayPal; ✗ = not listed, ? = the vendor's own pages disagree.
China access: whether the official website opens from mainland China networks (tests the website only, not the VPN connection). Last checked 2026-11-18 01:02 Beijing time.
Trustpilot score and review count checked 2026-11-10.
Identify what is failing
“Cannot ping” can describe different problems: the VPN tunnel may be down, the router may lack a route, a firewall may block traffic, or the server may simply ignore ping requests. Start by narrowing down which one applies.
Test the server by IP address rather than hostname. If ping by IP works but ping by name fails, investigate DNS. If neither works, focus first on the tunnel, routes, and firewall policies.
Also identify where you are running the test:
- From the UniFi gateway: This tests traffic originating on the router itself.
- From a client on the local LAN: This tests whether client traffic is routed through the VPN.
- From a VPN client: This tests whether the client can reach the server’s LAN across the tunnel.
These tests can have different results because router-originated traffic and forwarded client traffic may be handled by different routes or firewall rules. Fortinet VPN Japan: How to Choose, Set Up, and Use It
Check the VPN and routing
Confirm that the VPN reports as connected on both gateways or on the VPN client. For a site-to-site connection, verify that each side has the correct remote network configured and that the networks do not overlap. A tunnel can appear established while traffic for the destination network is not routed through it.
If you can, test from both gateways and from a device on each LAN. A gateway that can reach the remote server while a local client cannot may point to a client-network route or firewall issue. If neither gateway can reach it, check the tunnel, the remote network definition, and the server’s local network path.
For an IPsec site-to-site VPN, Ubiquiti community troubleshooting notes that a gateway-originated test may require using the correct site-to-site interface. In one example, the interface name vti64 was mentioned, but the correct interface depends on the configuration. Do not copy that name blindly. Verify the interface on your own gateway.
| Test result | Likely area to investigate |
|---|---|
| VPN is disconnected | VPN configuration, credentials, or peer reachability |
| Gateway can ping the server, but LAN clients cannot | Client routing or firewall rules |
| Server responds by IP, but not by name | DNS configuration |
| No device can ping the server, but the VPN is connected | Routes, VPN policies, or firewall rules at either end |
| Other remote devices respond, but the server does not | Server firewall or host network settings |
Compare VPN and routing checks Best VPNs for Firestick: Top Picks for Streaming and Privacy
| Check | Healthy sign | If not healthy | Where to look |
|---|---|---|---|
| VPN server address | Correct IP or hostname | Address may be wrong | VPN configuration |
| VPN tunnel status | Connected or established | Tunnel is down | VPN settings and credentials |
| VPN route | Destination uses VPN path | Traffic may use another route | Routing table |
| Return route | Server has a path back | Replies may not return | Server-side routes |
| Local subnet | Does not conflict with remote subnet | Traffic may route ambiguously | LAN and VPN subnet settings |
| Gateway | Correct next hop is available | Packets may stop locally | Router routes |
| DNS resolution | Hostname resolves to expected IP | Name may resolve incorrectly or not at all | DNS settings |
| One-Click VPN profile | Enabled and configured as intended | Traffic may not use the profile | Profile and device assignment |
Compiled November 2026; check the provider's site for current details.
Review firewall rules on both sides
A firewall can block ping even when other VPN traffic passes. Check the UniFi firewall policies that apply to the VPN network, the server’s LAN or VLAN, and the server itself. Rules may allow the tunnel to connect while denying communication between the VPN network and selected internal networks.
Look for rules that:
- Allow traffic from the VPN subnet to the server’s subnet.
- Permit ICMP if you specifically need ping.
- Apply to the correct network, VLAN, and direction.
- Do not get overridden by a broader deny rule.
The server’s operating-system firewall is an important part of this check. It may reject or ignore ping requests while still allowing services such as remote desktop or web access. If ping fails, try the application or port you actually need. A failed ping alone does not prove the VPN is unusable. Best VPN With Free Trials: Top Options to Test Before You Buy
If the VPN connects but clients cannot reach any devices on a VLAN, verify that the relevant firewall rules allow communication between the VPN network and that VLAN. This is a common distinction: permission to establish a VPN session is not the same as permission to access every network behind it.
Check DNS and One-Click VPN settings
DNS is relevant when you use a hostname, such as server.example.local, rather than an IP address. Compare the results:
- If the server’s IP address responds but its name does not, check the DNS server assigned to the VPN client.
- If the name resolves to an unexpected address, confirm that the client is using the intended DNS server and that the record is current.
- If ping by IP also fails, DNS is unlikely to be the immediate cause.
For UniFi One-Click VPN issues, Ubiquiti’s troubleshooting guidance recommends updating UniFi OS to address known DNS issues and configuring the UniFi Console’s LAN IP as a DNS server where applicable. Follow the guidance for your specific setup, and retest by both hostname and IP after changing DNS settings.
Choose the next troubleshooting step by symptom Best VPN Trial: Top Free Trials and Risk-Free Options
| Symptom | First check | Then check | Likely area |
|---|---|---|---|
| No ping to server IP | Router internet access | VPN server availability | WAN or server |
| Ping works by IP, not hostname | DNS resolution | DNS server settings | DNS |
| Tunnel is disconnected | VPN credentials and settings | Server logs or availability | VPN configuration |
| Tunnel is connected, ping fails | Routes to server subnet | Return route | Routing |
| Router ping fails, client ping works | Router VPN route | Router firewall rules | Router policy |
| Client ping fails, router ping works | Client route and profile | Client firewall rules | Client policy |
| Ping fails in one direction | Rules on both sides | Return path | Firewall or routing |
| One-Click VPN traffic differs | Profile assignment | Device and destination rules | One-Click VPN settings |
Compiled November 2026; check the provider's site for current details.
Use a step-by-step test
Work through the checks in order, changing one setting at a time:
- Confirm the VPN is connected.
- Ping the destination by IP address.
- Test from the gateway and from a LAN device, if possible.
- Confirm that the destination network is included in the VPN routes or site-to-site configuration.
- Check UniFi firewall rules between the VPN subnet and the destination network.
- Check the server’s local firewall and whether it permits ICMP.
- If only hostname access fails, review DNS settings and name resolution.
Keep notes on which device can reach which destination. This makes it easier to distinguish a routing problem from a firewall issue and reduces the risk of changing unrelated settings.
Recommendation
When a UniFi router cannot ping a VPN server, start with an IP-based test, then verify routes and firewall rules on both the UniFi gateway and the server. Test from more than one point, because gateway traffic and client traffic can follow different rules. Treat DNS as the next step only if the server responds by IP but not by name. Best VPN to Use in Turkey: Top Choices for Privacy, Speed, and Access
