A tool to automatically download wireguard configuration files for all available VPN servers from ProtonVPN.
NOTE The generated wireguard configuration files are to be used in Linux environments only.
USERNAME
: username for connnecting to ProtonVPN account.PASSWORD
: password for connnecting to ProtonVPN account.WORKDIR
: location to store configuration files. (default: /data)WIREGUARD_PORT
: Port of the wireguard configuration files (default: 51820).This allows to choose the wireguard port for the configuration files rather than leaving it to the ProtonVPN library which often defaults to the first available port in the session object.
-
Build the image
docker build -t protonvpn-wireguard-config-downloader .
-
Download the configuration files
docker run --rm -it -e USERNAME=abcd@efg -e PASSWORD=pa55word -v ./proton:/data protonvpn-wireguard-config-downloader protonvpn-wireguard-configs
-
To see all the supported flags
docker run --rm -it -e USERNAME=abcd@efg -e PASSWORD=pa55word -v ./proton:/data protonvpn-wireguard-config-downloader