OpenVPN cannot access other devices on LAN

Started by nuchnaree, December 24, 2021, 11:36:59 AM

Previous topic - Next topic
I've set up OpenVPN and have successfully connected from my remote PC into my Tunnelled network 10.0.1.0/24. My remote device can access the wider WAN through the VPN perfectly.

I can ping the LAN IP address of the OPNSense devices 10.0.0.1 and also 10.0.1.1 from my remote device.

However I cannot ping or reach any other devices on the LAN such as 10.0.0.100 from my remote device.

LAN IP 10.0.0./24
OpenVPN 10.0.1.0/24

I'm sure that I'm missing something fundamental regarding routing between the two subnets but I just don't know where to start.
gold diamond gaming

Do the devices on your LAN have OPNsense as their default gateway? If not, you'll need to add a static route (manually or by DHCP) for 10.0.1.0/24 via 10.0.0.1

Since you can get out the WAN, I suspect that your tunnel is set up to push redirect-gateway to your remote devices already.

You can NAT the local end of your tunnel onto your LAN but that's messy.

Bart...