I just kinda threw this together. You have to use the console, that is enter the service with “docker exec” to be able to run the script. But everything should be good to go.
N.B.: You should pass to the script the country and city for the vpn.
Simply fire up the container (docker-compose.yaml is easy to implement) and enter the container.
docker exec -it vpn /bin/bash
Then start the script and pass in a country.
./getcities.sh united_states
This will generate a .conf file for each city that has an entry for the passed in country. Look into the mapped conffiles/country directory. You can then use each conf file to create a WireGuard client on your gl-inet device.
Anyone care to test this out? Use the docker-compose template to put in your credentials, and you can have WG conf files for every server region in a country in less than a minute. You have to copy and paste those into the UI, but I did all 16 US regions in less than 10 minutes.
Seriously, learn docker. It’s fairly simple. Download and install VirtualBox and create an Ubuntu (20.04) virtual machine. Then figure out how to install Docker (and docker-compose). Tons of guides out there. Then install a simple container. Follow,a tutorial.
After that, follow my guide which has a working docker-compose sample.
Ok, all set. VB, Ubuntu, Docker and Docker Compose all installed. Easy peasy… I screwed up and only gave my vm 10gb disk. Ran out of space and tried to edit the file. It hosed my VM. I built another from scratch with a 20gb and then cloned it after I updated it and installed Docker.
However, Stuck at creating a simple container… 10 different sites 100 different ways…Is this just as simple as a MKDIR?
So I keep checking here to get to the next step… I was able to use my free ProtonVPN with wireguard and it works good… I’d like to still try the Nordvpn I pay for…
I did a trial with your Docker image… very interesting and congratulations for it.
When going through first to credentials, I noticed I couldn’t go further due to MFA activated on my account, so registration to nordVPN failed.
Hi and thank you for the amazing scripts!
However, I’ve noticed that nordvpn --login isn’t accepting my username and password, and is also complaining that it needs an update.
Have you looked into this?