Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
OpenVPN cannot access other devices on LAN
« previous
next »
Print
Pages: [
1
]
Author
Topic: OpenVPN cannot access other devices on LAN (Read 2323 times)
nuchnaree
Newbie
Posts: 1
Karma: 0
OpenVPN cannot access other devices on LAN
«
on:
December 24, 2021, 11:36:59 am »
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
Logged
bartjsmit
Hero Member
Posts: 2017
Karma: 194
Re: OpenVPN cannot access other devices on LAN
«
Reply #1 on:
December 24, 2021, 03:44:42 pm »
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...
Logged
the-mk
Full Member
Posts: 156
Karma: 15
Re: OpenVPN cannot access other devices on LAN
«
Reply #2 on:
December 24, 2021, 05:21:12 pm »
sounds like firewall rules not yet allowing access from OpenVPN to LAN -
https://docs.opnsense.org/manual/how-tos/sslvpn_client.html
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
OpenVPN cannot access other devices on LAN