OPNsense Forum

English Forums => Virtual private networks => Topic started by: fbeye on October 31, 2023, 04:48:27 AM

Title: OpenVPN (NordVPN) and selecting IP Range [only] to use it
Post by: fbeye on October 31, 2023, 04:48:27 AM
Hi there, I get my NordVPN up and running and all is well but I really am just wanting 192.168.5.176 - 192.168.5.181 to use it and the rest of the Network, 192.168.5.1 - 192.168.5.175, to use my default WAN/ISP IP.

What I did in testing was create an Alias of 192.168.5.176 - 192.168.5.181 and then under the LAN [Out] I chose the Alias as the Source... And nothing works.
Anyone else have success with this?
Title: Re: OpenVPN (NordVPN) and selecting IP Range [only] to use it
Post by: tiermutter on October 31, 2023, 09:31:38 AM
The rule should be LAN in (not out) and must be placed before default allow.
Did you set the VPN as gateway in this rule?
How does your alias look like (Screenshot)?
Title: Re: OpenVPN (NordVPN) and selecting IP Range [only] to use it
Post by: fbeye on October 31, 2023, 11:55:14 PM
Hi there! After testing I set everything back to default and will try again, and I can give pictures and more description then. Thank you for responding...I'll get back as soon as I can.
Title: Re: OpenVPN (NordVPN) and selecting IP Range [only] to use it
Post by: fbeye on October 31, 2023, 11:57:51 PM
Another thing, I am using this guide [https://support.nordvpn.com/Connectivity/Router/1292598142/OPNsense-19-1-setup-with-NordVPN.htm] but am SKIPPING over the DNS configuration because I do not use Unbound, or dnsmasq or anything.. I use PiHole via VM (192.168.5.119) hopefully that in itself won't be an issue.