OPNsense Forum

English Forums => Virtual private networks => Topic started by: markbel on March 14, 2023, 12:50:21 PM

Title: Route LAN through OpenVPN.
Post by: markbel on March 14, 2023, 12:50:21 PM
Hello everyone!

I am using OPNsense 22.1.2_2-amd64 and Mullvad. The instance is behind another router and is connected through VLAN, everything works until i try to set up a VPN.

I want to route all LAN traffic through a VPN and i've been recently trying to follow a few guides on it (https://www.ivpn.net/setup/router/opnsense-openvpn/ (https://www.ivpn.net/setup/router/opnsense-openvpn/), https://www.ovpn.com/en/guides/opnsense (https://www.ovpn.com/en/guides/opnsense), https://support.nordvpn.com/Connectivity/Router/1292598142/OPNsense-19-1-setup-with-NordVPN.htm (https://support.nordvpn.com/Connectivity/Router/1292598142/OPNsense-19-1-setup-with-NordVPN.htm)), but none of them seem to work.

Here are my current configs:

(https://i.imgur.com/XmZIUx2.png)
(https://i.imgur.com/Se4xYTu.png)

VPN connection is up:

(https://i.imgur.com/eLvpj5Y.png)

I can't ping or access the web on line net, but can ping the firewall itself. Another thing is that though outbound rule is set to log the packets, but I can see none of them in logs.

Who can help?
Thanks in advance.