OPNsense Forum

English Forums => Virtual private networks => Topic started by: firewalled101 on January 31, 2023, 03:58:49 PM

Title: NordVPN for selective IPs/subnets
Post by: firewalled101 on January 31, 2023, 03:58:49 PM
I would like to setup NordVPN a gateway to route certain traffic from few clients on my network. I was able to get the gateway connection up and running. Official instructions dictates routing ALL traffic through VPN which is not what I want to do. I tried tagging packets and sending them over to the VPn gateway but devices did not receive an IP. Any suggestions how to approach this?
Title: Re: NordVPN for selective IPs/subnets
Post by: tiermutter on January 31, 2023, 04:04:37 PM
Simply create an alias containing MAC or IP of the devices you want to route over the VPN.
Then create a allow FW rule on the subnet (eg LAN) with the alias as source, select the VPN gateway on the bottom and place the rule above default allow rule.