VyOS VPN configuration help

Hello all, I hope someone can help me understanding the following issue.

I have a VyOS configured as here, clients that access through the " peer c.c.c.c " tunnel VPN can reach hosts on net nicely but cannot reach hosts on net even if the VyOS itself ( ) can, using the gateway .

Can someone kindly help me understand why and what should I config to allow reaching the 192.168.2.x hosts?


Hello ludiegu,

You LAN 192.168.2.x is LAN on the current VyOS ?

If yes i don’t see a vyos interface conencted to this LAN, so you can’t route the LAN.

Can you PING 192.168.2.x network on your VyOS ?

Or not Something like that :

Thanks for the reply. My VyOS is not on subnet 192.168.2.x/24, but it can reach it via GW, hence I can ping any host on subnet 192.168.2.x/24.

I think you need add a static route on router which manage network 192.168.2.x to reach VPN users.