OPNsense Forum

English Forums => Virtual private networks => Topic started by: Dehicks on April 15, 2023, 09:10:50 PM

Title: OpenVPN cannot connect from lan side within double nat environment
Post by: Dehicks on April 15, 2023, 09:10:50 PM
OpenVPN not connecting from internal network

I couldn't find the right words to use to get Google to help. I have a setup my first opnsense firewall in my network. Home network looks like:

Isp >opnsense > cisco router > cisco switch > devices

While on LTE I can connect to opnvpn and access my local network for NAS or remote administration. However, once I connect to my home wifi via access point from the switch, I lose the ability to connect to the openvpn server.

Yes, I know I am already connect to the LAN, but I want my vpn connection to be turned on and forgot about. Not constantly turning it on and off depending on the network I am connected to.

I'm think that I may need to just add a route from the cisco switch to the wan/isp IP address. Since the wan on my cisco is technically a internal 172.16 address.

Hope this makes sense! And thank you in advance!
Title: Re: OpenVPN cannot connect from lan side within double nat environment
Post by: Patrick M. Hausen on April 15, 2023, 09:36:31 PM
Unfortunately you cannot be connected to your LAN and access that same LAN through a VPN tunnel simultaneously.