1
Virtual private networks / OpenVPN rules for internet access
« on: March 10, 2021, 12:27:05 pm »
Hi, I'm new to Opnsense and I have an issue trying to get access to the outside world when using one of my VPNs.
I have 2 OpenVPN servers running; 1 for me with full network access and a second one for work that only has access to certain servers on the network. Everything works on VPN 1.
The rules on the OpenVPN firewall tab are as follows:
Protocol Source Source Port Destination Destination Port Gateway Schedule Description
IPv4 * 10.0.9.0/24 * 10.0.9.1 * * * VPN2
IPv4 * 10.0.9.0/24 * 172.16.1.70 * * * VPN2
IPv4 * 10.0.9.0/24 * This Firewall * * * VPN2
IPv4 * 10.0.8.0/24 * * * * * VPN1
The only way I can access the internet when connected to VPN2 is if I have a rule for 10.0.9.0/24 with destination set to any. Is there a way around this? I have tried selecting individual interfaces to no avail.
Thanks
I have 2 OpenVPN servers running; 1 for me with full network access and a second one for work that only has access to certain servers on the network. Everything works on VPN 1.
The rules on the OpenVPN firewall tab are as follows:
Protocol Source Source Port Destination Destination Port Gateway Schedule Description
IPv4 * 10.0.9.0/24 * 10.0.9.1 * * * VPN2
IPv4 * 10.0.9.0/24 * 172.16.1.70 * * * VPN2
IPv4 * 10.0.9.0/24 * This Firewall * * * VPN2
IPv4 * 10.0.8.0/24 * * * * * VPN1
The only way I can access the internet when connected to VPN2 is if I have a rule for 10.0.9.0/24 with destination set to any. Is there a way around this? I have tried selecting individual interfaces to no avail.
Thanks

