Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
VPN to an alternative LAN
« previous
next »
Print
Pages: [
1
]
Author
Topic: VPN to an alternative LAN (Read 853 times)
mineat
Newbie
Posts: 3
Karma: 0
VPN to an alternative LAN
«
on:
July 01, 2022, 10:30:01 am »
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?
Logged
Patrick M. Hausen
Hero Member
Posts: 6807
Karma: 572
Re: VPN to an alternative LAN
«
Reply #1 on:
July 01, 2022, 10:38:53 am »
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
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
mineat
Newbie
Posts: 3
Karma: 0
Re: VPN to an alternative LAN
«
Reply #2 on:
July 01, 2022, 11:08:20 am »
Thanks for the response.
Ill check that out!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
VPN to an alternative LAN