Ping nordvpn servers to find the best/fast for you
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
config.zip.md5
nordping.sh

README.md

nordping

Ping nordvpn servers to find the best/fast for you

How to use:

  • Download this script to the same directory where you unzipped all *.ovpn files

    • Optional: you may want to keep the script in the $PATH, but you must run it from the working directory where the *.ovpn files are
  • New -e key, prints also at stderr output, so you can easely pipe stdout to a sort command and still keeps track of progress

  • Usage:

     ``./nordping.sh [-v] ( [-h|-V] | [-p TCP|UDP] [-d PATH] )``
    
       Options:
         -h, --help       Show this help.
         -V, --version    Show version.
         -v, --verbose    Turn verbose mode on (cumulative).
         -p, --protocol   Set the protocol to ping: TCP (default) or UDP
         -d, --directory  Set the path where to find ovpn files
         -f, --filter     Filter by prefix
         -w, --wget       Download ovpn files to directory ./ovpn-files
         -e, --stderr     Print also to stderr. Useful if piping, e.g.: $ ./nordping.sh | sort -nk3

Exit status:

   0, if ok.
   1, some error occurred.

Author

  Written by Ruben Carlo Benante <rcb@beco.cc>  
  Date: 2017-02-18
  Modified: 2017-11-18