This is an old revision of the document!
Table of Contents
NORD VPN on opnSense
Setting up NordVPN on an opnsense router is poorly documented (several years old) and assumes all LAN traffic will be pushed through Nord. We have a different need in that we have a Net-2-Net (Site-to-Site) VPN to our office that should not go through the Nord connection. That was interesting, or as my friend David said, “a foot and anvil situation”.
This document will take it step by step, and you can feel free to stop any time you are happy with the result. Also, note that one of our routers also uses a Multi-WAN setup (for failover), and that has not been tested at this time.
Overview
Note: This document has been specifically written for the new OpenVPN setup which can be used in 2025, and will be the only one available in 2026.
Note: This document assumes you have a second VPN client created that you wish to route to bypass the NordVPN connection. The same procedure can be used to bypass the VPN for other uses, but the example is for a second VPN that should handle some well defined subset of the network traffic. If that is not a need, you can simply stop when you get to that section.
Note: This document assumes you have a working opnSense firewall/router. There are other documents on how to do that. We also assume you have a valid NordVPN account.
- Set Up NordVPN
- Configure NordVPN as an OpenVPN instance
- Test
- Set up a NordVPN interface
- Create an Outbound NAT entry to correctly NAT LAN traffic through the NordVPN
- Create a firewall rule to force all LAN traffic to use NordVPN
- Test
- Set up new interface for secondary VPN (section is optional)
- Create an alias containing all IP subnets you want handled via the secondary VPN
- Create Outbound NAT entry to correctly NAT LAN traffic destined for alias through secondary VPN
- Create a firewall rule to force LAN traffic destined for subnets in alias through secondary VPN
Set up NordVPN
While the Nord site has some instructions, they are really difficult to follow and have a lot of questions. Instead, we'll download a copy of the OpenVPN configuration file Nord provides, and get the username and password. With this information, we can create an OpenVPN Client instance in opnSense.