A fast CLI and Rust crate to find the perfect NordVPN server to connect to, based on given filters.
Nordselect is available for Arch Linux as the
nordselect AUR package.
If you don’t want to compile this program (which can take a while if you’re compiling from scratch), you can use my custom repository and install a precompiled binary. The repo only supports x86_64.
To install the
nordselect CLI using Cargo (Rust package manager), enter
cargo install nordselect.
Because of the pinging functionality, you have to execute the following command if you want to use the ping feature:
# allow binary to send ping packets sudo setcap cap_net_raw+ep ~/.cargo/bin/nordselect
We might add extra installation options in the future.
nordselect [FLAGS] [OPTIONS] [filter ..]
For a full list of options and flags, run
Possible filters are:
- A country (in ISO 3166-1 alpha-2 format)
- A protocol (
- A servertype (
To see all filters, use
# I don't care, just pick a server nordselect # A server in Latvia with P2P that supports p2p over tcp. nordselect lv tcp p2p # A server that supports both Tor and double VPN. # At the moment of writing, no such server is available. nordselect tor double # Use case: in combination with the official NordVPN CLI: # https://nordvpn.com/download/linux/ nordvpn connect `nordselect ua`
The documentation of the library can be found at docs.rs.
The application is in development. If you encouter a bug, please open an issue describing how the bug occured or open a PR.
New features are not planned for now, but feel free to open issues to discuss them.
Warning: before running
cargo test, use
dummydata.sh to generate some dummy data.
To select a server without waiting too long, we use the following method to find your preferred server.
- Download the list with all servers using the NordVPN API.
- Apply your filters on the received data.
- Sort the data on load.
- Pick the best one.
-s, it will take the 10 servers with the least load and compare their ping values.
If you think you have a better selection procedure, please let me know by opening an issue.
This project is licensed under the very permissive MIT License.