
More info here.Īt my university, I connect to eduroam, which does not allow vpn. To activate the feature you need to enable and start the rvice. In order to automatically start and stop vpn when a network interface goes up/down, put the following in /etc/NetworkManager/dispatcher.d/10-openvpn. Starting=$(pgrep -f start-vpn) # this might not be the most accurate, but it works for me. If you do want to monitor it via i3blocks, put this in your i3blocks config: Īnd this in your i3blocks-scripts-directory (with name vpn): #!/bin/bash Profile = result.json() + 'tcp'Ĭommand = 'systemctl start + profile + '.service'įork_and_continue_notifying_in_background()įor convenience, I have two aliases in my ~/.bashrc: alias start-vpn='sudo start-vpn' # rename tcp config files and put them in /etc/openvpn/clientįor file in * do mv "$' # download config files, extract and clean up I'm running arch, this might be different on your system. Insert your NordVPN login credentials in the generate authentification file part. Note that I didnt end up using that config as I wanted the router to handle the DNS anyway.I have written a little script that downloads the config files, renames them and enables automatic authentification. More info on that in this thread: (2) AsusWRT / Merlin 380.66_4 OpenVPN DNS server setting | SmallNetBuilder Forums () I also did come across a DNS line that can be added to the copy/paste config for the VPN in the router: GitHub as it helps get some of the info straight.I highly recommend having a read of this page Policy based routing I do have a couple of gaming devices set to "WAN" to allow them to bypass the VPN to reduce ping when gaming.

I also added a WAN entry for the router's IP at 192.168.1.1, and VPN entry for the whole network at 192.168.1.0/24 I am pretty sure though that if a device is using a VPN client (including the Nord one) that they will bypass the router DNS handling though I havent done any testing to confirm that is the case.įor setup, I just uploaded the config file, left pretty much everything else default, copied and pasted in the text as shown in the Nord Merlin setup page.

Note that in DNS filtering I have the default set to "Router" (I had accidentally set this to OpenDNS Home and had no end of issues connecting devices!).įinally I have a TCP/UDP drop on port 53 setup so that devices cannot bypass OpenDNS by picking their own dns. Additionally I do have some DNS filtering setup a couple of devices that are set up to go through Nord's Smart DNS (specifically the smart tvs). I set DNS to "Disabled" and use OpenDNS in the WAN config.

I have Nord setup on our AC-86U, working fine.
