Nord VPN Kill Switch

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
marcdraco
Posts: 48
Joined: Sat May 28, 2016 2:10 am

Nord VPN Kill Switch

Post by marcdraco »

I just signed up to Nord VPN (I've been through the others and it seems like a good option).

Since I deal in drugs and sell guns, etc.*** there's always a chance that the VPN could drop and expose our real IP.

Seems that we need a monitor for things like Transmission so if the VPN drops for some reason, they go down as well rather than trying to reconnect over the open web. This seems like a job for the development team but probably something worthy of consideration

I note that OpenVPN has a -down option to trigger a script when the tunnel fails - presumably this is the way to do it? Unless there's a better VPN handler than OpenVPN/PiVPN. I'm using it to tunnel in on one DietPi machine (to my private network) and tunnel out on another machine for privacy purposes.

God I love DietPi!

*** JUST KIDDING! :mrgreen:
marcdraco
Posts: 48
Joined: Sat May 28, 2016 2:10 am

Re: Nord VPN Kill Switch (Quick/Dirty solution)

Post by marcdraco »

Turns out that what I thought was complicated is easier than I thought... sorta.

OK you create a simple shell script to terminate the process(es) you want to kill off if the VPN goes down. There's probably a more polite way to do this but I'll wait for someone with more expertise to weigh in here. Let's say you're running something like Transmission:

Code: Select all

#!/bin/sh
killall transmission-daemon
Which is very quick and dirty, but hey ho... save this somewhere handy and make a note of the location. I'm a complete hack so I dropped it with the configuration files, but it's hardly an ideal place if you're more organized. You might even want to make a log entry... but I'm more concerned with preventing leaks of sensitive information, so killing it all as quick as possible is paramount.

Now, find your OpenVPN configuration file in /etc/openvpn and add the following couple of lines to it (this is what mine looks like):

Code: Select all

script-security 2
down /etc/openvpn/panic.sh
You can do the same thing with an "up" script but there doesn't seem any point for this example. Don't forget to make the script executable though! You should stop anything nefarious you're doing if the VPN goes down.

An up script will bring things back to life... but a reboot is probably neater. What? I'm lazy... so sue me! :shock:

Also- CHECK IT WORKS! Kill the server process and check what you needed to shut down actually shut down. :)
kennethhall250
Posts: 2
Joined: Sat Mar 30, 2019 3:28 pm

Re: Nord VPN Kill Switch

Post by kennethhall250 »

Now there is no need to use NordVPN. You don't know NordVPN hacked. I can't believe how NordVPN resorts to blame game and not auditing what is installed on its rented servers. Nord reputation is seriously tainted according to various sources. This is the right time to switch to another VPN. Black Friday is also near to come, and as you all know all providers are offering huge discounts on their products. Check out https://www.vpnranks.com/vpn-deals/, you can explore top 10 providers with their details and deals here as well. 8)
melaniestaines
Posts: 16
Joined: Tue Oct 01, 2019 9:52 am

Re: Nord VPN Kill Switch

Post by melaniestaines »

kennethhall250 wrote: Mon Oct 28, 2019 12:17 pm Now there is no need to use NordVPN. You don't know NordVPN hacked. I can't believe how NordVPN resorts to blame game and not auditing what is installed on its rented servers. Nord reputation is seriously tainted according to various sources. This is the right time to switch to another VPN. Black Friday is also near to come, and as you all know all providers are offering huge discounts on their products. Check out https://www.vpnranks.com/vpn-deals/, you can explore top 10 providers with their details and deals here as well. 8)
Yeah i also heard about Nord as they had been hacked, i am also using there services and now i'm curious what to do. Go for a new VPN or just wait as what they are doing to make things right in the future like they told in there post as they are planning to shift to RAM SERVERS, hire external cyber security company to make there system more reliable and opening up a bug bounty program. Just saw a list in the link you have provided saw PureVPN at the top offering 85% and pay only $1.65 a month for the 5-year exclusive deal at https://www.purevpn.com/vpn-deals/halloween. Is it worth buying a 5 year plan that's a long time.
User avatar
MichaIng
Site Admin
Posts: 2295
Joined: Sat Nov 18, 2017 6:21 pm

Re: Nord VPN Kill Switch

Post by MichaIng »

It's a pity since otherwise NordVPN has quite good reviews about performance, availability and such. I am also not sure whether to count it as "shit happens to everybody, and when it does, they learn to do better", or "such thing MUST not happen to any security/privacy company I can trust". I am just reading so many news lately about banks and other large service providers where contact data sets are suddenly available publicly and such... As tiny defending: Especially large companies are of course preferred hacker target and NordVPN definitely is one of the large ones.
melaniestaines
Posts: 16
Joined: Tue Oct 01, 2019 9:52 am

Re: Nord VPN Kill Switch

Post by melaniestaines »

True that and agree with you...
GloriaM
Posts: 1
Joined: Mon Nov 11, 2019 1:18 pm

Re: Nord VPN Kill Switch

Post by GloriaM »

That is why I use ExpressVPN. It has fast speeds, strong privacy, and encryption. I researched some useful article and find this https://webguidevpn.com/best-vpn-for-chrome/
melaniestaines
Posts: 16
Joined: Tue Oct 01, 2019 9:52 am

Re: Nord VPN Kill Switch

Post by melaniestaines »

Yeah expressvpn is also going good. A lot of Black Friday VPN deals are out there like:


PureVPN $1.32 for 5 years (Save 88%)
CyberGhost $3.5 for 18 months (Save 73%)
VyprVPN $5 for 1 year (Save 25%)
Expressvpn $6.67 for 15 months (Save 49%)

Can anyone guide me which VPN should I pick.
Post Reply