VPN to an alternative LAN

Started by mineat, July 01, 2022, 10:30:01 AM

Previous topic - Next topic
Hi!

I just went to OPNSense and It seems very promising.

I wonder if there is a guide for me to doing this.
Today I have a box with 4 LANs and Im using a WAN and a LAN to a 192.168.0.0/24 network.

I want to use my VPN vendor and use a second LAN to 192.168.1.0/24 and that should be connected to VPN.

So one LAN should be VPN-connected and one is not connected to VPN.
Is this possible or do I have to connect to the VPN from the WAN and all LANs will be connected to VPN?



You will have to connect from WAN, because that's the only interface (normally) with a public routable address. But you can configure which LAN(s) use the VPN as a gateway and which don't.

See the various guides as a starting point:
https://docs.opnsense.org/plugins.html#vpn-connectivity
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Thanks for the response.

Ill check that out!