Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

feature: check from command line that I am connected to a NordVPN server #112

Open
ghost opened this issue Oct 17, 2018 · 2 comments
Open
Assignees

Comments

@ghost
Copy link

ghost commented Oct 17, 2018

Hi Chad,
Thanks for your great work!
Would it be possible to add a feature to check that I m connected to a NordVPN server?
I just realized that I wasn t for many weeks because I don t have a monitoring tool. This feature would provide me enough to make a script to refresh every minute or so to add to my desktop bar.
Cheers :)

@chadsr
Copy link
Owner

chadsr commented Oct 23, 2018

Hi,

This would be simple to add, so i'm more than happy to do so. I am however rather busy at the moment, so it might take a couple of weeks.

In the meantime, using a combinations of auto-connect and kill-switch will instantly take down your network connection if the VPN drops, if that's an option for you!

I will keep this open to notify you of any progress.

Thanks!

@chadsr chadsr self-assigned this Oct 23, 2018
@ghost
Copy link
Author

ghost commented Oct 24, 2018

Thanks Chad! That would be great!
I used the combo auto-connect and kill-switch in the past but I moved apartment and with the new wifi connection I don t think it was on by default. I assumed it was still on but it wasn t. Hence my request. :)
In the meantime I did 2 mini-scripts that cover some of my needs:

  • to see if I m using a VPN (launched every second):

ifconfig tun0 &> /dev/null

  • to see which ip is seen from the outside world (I lauch this one every minute):

curl ifconfig.me

Unfortunately they don t tell me if I m connected to a NordVPN server. I have to guess it from the ip displayed and hope that tun0 corresponds to the correct VPN connection. :(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant