A lightweight Bash script that connects to multiple NordVPN servers in a given country using the NordLynx (WireGuard) protocol, extracts their WireGuard configuration, and generates ready-to-use .conf
files along with terminal-displayed QR codes for mobile use.
PrivateKey
, PublicKey
, Endpoint
, etc..conf
files compatible with the WireGuard appsudo nordvpn login
sudo apt update
sudo apt install wireguard-tools qrencode curl jq -y
sudo bash extract-multiple.sh [2-letter COUNTRY CODE]
Example:
sudo bash extract-multiple.sh de # Extracts 5 DE configs
For each successful connection, a file like de456.nordvpn.com.conf
is created.
Each file contains a complete WireGuard config, and a QR code is displayed for easy import into the WireGuard mobile app.
.conf
files.conf
files with others unless you know what you’re doingMIT License — feel free to use and modify. Stars appreciated!