I have a pi installed with piVPN using wireguard this is connected to my local network at has NAS and PC
I can use my phone and laptop to connect to the VPN and access files on pc connected local on network.
But I can not access these client from within the local network
Local network is on the 192.168.0.X / VPN client are on the 10.6.0.X
Do I need to change or add to the route table ??
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 202 0 0 eth0
10.6.0.0 0.0.0.0 255.255.255.0 U 0 0 0 wg0
192.168.0.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0
Your network does not know where to route request to 10.6.0.x… so you need to configure your router to use advanced routing / static routing, but not all routers have this feature… basically you want to redirect 10.6.0.x requests to go trough pi server
Thanks. That did it. Set this on the router ( for others looking for this fix )
Network Destination |
Subnet Mask |
Default Gateway |
Interface |
Description |
10.6.0.0 |
255.255.255.0 |
Pi / IP address |
LAN |
WireGuard |