OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: TParker31 on June 15, 2020, 05:56:53 pm

Title: Local server inaccessible when VPN is active
Post by: TParker31 on June 15, 2020, 05:56:53 pm
Have a server on the LAN network that has a permanent VPN out connection for internet. I can reach this server locally from the LAN network, but despite having firewall rules, cannot communicate to this server from another VLAN when the VPN connection is active. What do I need to add to make this work? Any help would be appreciated.
Title: Re: Local server inaccessible when VPN is active
Post by: Gauss23 on June 19, 2020, 11:05:59 am
Looks like this VPN connection is binding the default gateway, so all traffic which doesn´t has a static route is going to that VPN tunnel. You can either disable the VPN binding the default gateway or add static routes to the server to other LANs
Title: Re: Local server inaccessible when VPN is active
Post by: TParker31 on June 20, 2020, 12:09:08 am
Going to Firewall, Settings, Advanced and enabled Reflection for port forwards and Automatic outbound NAT for Reflection resolved my issue.
Title: Re: Local server inaccessible when VPN is active
Post by: Gauss23 on June 21, 2020, 08:04:20 pm
What does your solution has to do with the problem you reported? Can´t see a correlation between them. There should be no NAT in use from what you described.