The VyprVPN WireGuard Go Client is a command-line tool for managing VyprVPN connections using the VyprVPN WireGuard API.
The tool linked below is in x64 architecture. If you need ARM64, use this file instead:
The following tutorial was created using Ubuntu, but the VyprVPN WireGuard Go Client is compatible with most Linux distributions and requires only the WireGuard kernel modules and the wg-quick application for full management of the connection.
As a prerequisite, ensure that you have WireGuard installed on the system:
sudo apt install wireguardDownload the appropriate client and place the file anywhere in the system. For the purposes of this tutorial, the file will be placed at /usr/local/bin/vyprvpn-wireguard-go
x86_64 is typically used in full-size computers and laptops, while arm64 is more often used in smaller devices like tablets or Raspberry Pi:
vyprvpn-wireguard-go-x86_64 v0.2.2 (SHA 256 Hash: B882EAF0A5C8042E962DC8CBD4C0F35AE03500D329B4B10EEF13C340DF8951CA)
vyprvpn-wireguard-go-arm64 v0.2.2 (SHA256 Hash: 2B861806A5FF8EAB370951A2EB134E702F89BB5B04386F686344319718E8C706)
To move the file to from your downloads folder over to /usr/local/bin/vyprvpn-wireguard-go, use the command below. Note that the command changes the name of the file for simplicity in future use:
sudo mv ~/Downloads/vyprvpn-wireguard-go-x64 /usr/local/bin/vyprvpn-wireguard-goIn the commands below, replace username with your own Ubuntu login name. If you've placed vyprvpn-wireguard-go in a different location, adjust that as well.
After placing the file in its desired location, ensure that vyprvpn-wireguard-go can be run as an executable and has necessary privileges:
chmod 755 /usr/local/bin/vyprvpn-wireguard-goThe VyprVPN WireGuard Go Client is configured using a ~/.config/vyprvpn/config.yaml file.
First, create the directory for the file to be placed in:
mkdir ~/.config/vyprvpnNow, create the file using the command below, or any other text editor of your choice:
nano ~/.config/vyprvpn/config.yamlBelow is an example config.yaml file to be used by vyprvpn-wireguard-go. Replace the email and password. At the bottom, replace the two instances of x.x.x.x with your router's local IP address, also referred to as a default gateway. This is typically the IP that would be used to access the router's internal settings via a web browser.
If using a remote machine, replace with the machine's WAN IP address:
account: username: user@domain.com password: XXXXXXXXXXXXXXXXXXXXX wireguard-config: filename: /etc/wireguard/wg0.conf wg-quick: true ignoredns: true postup: ip route add %s/32 via x.x.x.x postdown: ip route del %s/32 via x.x.x.x
Run the following commands to create the WireGuard configuration file and provide your user with permission to write to the file. (Note: If you already use WireGuard for other purposes, you can specify a different WireGuard interface by changing the filename in both the commands below and in the config.yaml file. e.g. filename: /etc/wireguard/wg2.conf
sudo mkdir /etc/wireguard sudo touch /etc/wireguard/wg0.conf sudo chown $(id -u) /etc/wireguard/wg0.conf sudo chmod 711 /etc/wireguard
You're ready to get connected! Head over to the VyprVPN WireGuard Go Client article for usage instructions.
If you need any further assistance, please contact our 24/7 Customer Success Team, who would be glad to assist.