Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Tutorials and FAQs
»
VPN Client - Gateway issue
« previous
next »
Print
Pages: [
1
]
Author
Topic: VPN Client - Gateway issue (Read 3599 times)
zwck
Newbie
Posts: 14
Karma: 1
VPN Client - Gateway issue
«
on:
November 17, 2018, 03:38:21 pm »
Hey all complete beginner here,
I am running the latest stable of opnsense and i installed the opnvpn client on opnsense which creates a gateway and client, when you start the client the gateway becomes active.
It all works fine and dandy with the installation and then my entire network is routed throught the VPN Gateway, when i start the client the default gateway (WAN_DHCP) will be overwritten directly to (VPN_DHCP) for all my lans and vlans. However, i just want one vlan to be routed through the VPN gateway
I thought it would be straight forward and a simple change of the GATEWAY in the rules for each vlan and lan would to the trick, however then the only vlan that is working then is the one with the VPN_dhcp gateway selected.
Logged
MickeyRat
Newbie
Posts: 8
Karma: 2
Re: VPN Client - Gateway issue
«
Reply #1 on:
November 23, 2018, 04:19:41 am »
I'm a total noob too but, I did get the VPN client working for PIA and I was able to specify which nodes on my network go through it. This guide is for pfsense but, it's what I used as a go by:
https://www.reddit.com/r/PFSENSE/comments/6edsav/how_to_proper_partial_network_vpn_with_kill_switch/
I suspect that you need to check don't pull routes on your VPN client. That won't route things through VPN but, it will stop your entire network from going through VPN.
Things have been busy with Thanksgiving and all but, I intend to post a thorough guide to doing it in the next week or so.
Logged
zwck
Newbie
Posts: 14
Karma: 1
Re: VPN Client - Gateway issue
«
Reply #2 on:
November 26, 2018, 11:53:30 am »
Beautiful! Thank you it was the routes thingy
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Tutorials and FAQs
»
VPN Client - Gateway issue