Set up WireGuard VPN on Linux

Here are the steps to set up the iProVPN via WireGuard protocol on Linux OS.

  • Switch to the root user by entering sudo -i and install WireGuard with this command: apt install wireguard -y
  • Copy your WireGuard configuration file in the WireGuard directory by running this command: sudo nano /etc/wireguard/london.conf. You can change the name of the file from london.conf to something else such as washington.conf or whatever you like with the .conf extension.
  • Note: If you do not have a WireGuard config file, please send an email to our support team at s[email protected].
  • Now paste your complete file inside /etc/wireguard/london.conf
  • Save the file by pressing CTRL+O . Then close it by pressing Ctrl+X.
  • Now run this command to start the WireGuard VPN. sudo wg-quick up london. In this command, replace “london” with your config file name.
  • To verify the VPN connection, enter sudo wg or visit an online IP Location Finder tool.
  • To disconnect the iProVPN WireGuard VPN, run sudo wg-quick down london.