Skip to content
Contents
GuidesOpenWrt

OpenVPN connects after an OpenWrt upgrade but the client LAN is unreachable

The VPN is connected, but the client's backend subnet is unreachable. Check which kernel component is receiving the packets, and verify which client the OpenVPN instance is assigning that subnet to.

Applies to · OpenVPN 2.7.8 · r33350-71dbef3fd8 / r33416-b964791460 · TUN

What to check

First, access the TUN addresses from both ends.

Connect over Ethernet and run the following commands in an SSH session on the router.

ip route show
logread -e openvpn

How to interpret the result

When the router's table cannot find a client's LAN prefix, first check the server's routing. If the prefix is directed to TUN, verify client-config-dir, the actual client identity, and iroute. If no response is received at the remote end, check the remote LAN return path.

Verify and recover

Test an authorized service in each direction and check that other VPN clients still work. Restore the saved routes and client-specific configuration if either direction fails.

Related guide · Identify a new device from OpenWrt lease and access logs

Explore hardware

Comments