Introducing PureSquare – for security beyond VPNs

Visit our website

Don’t worry about forgetting your passwords ever again with the all-new password manager. Try PureKeep

Wireguard Command Line Interface (CLI) Setup Guide for Raspberry Pi (Debian)

Jan 03, 2023
Jan 12, 2023
Download PDF

The following is required for setting a Wireguard connection on Raspberry Pi.

  • A working installation of Debian 11 (Debian Bullseye)
  • A PureVPN premium account (Don’t have one? Sign up now!)
  • Firstly, you will need to install Wireguard packages and files. Type the following to install them:
    1. sudo bash
    2. sudo apt-get update && sudo apt-get upgrade -y
    3. sudo apt-get install wireguard
  • Now go to your Member’s Area and download the desired PureVPN Wireguard file. (WireGuard Configuration File will expire in 5 minutes after generation if not connected, after that you need to regenerate a new configuration.)
  • Now create a Wireguard profile and copy/paste the content of the downloaded config. file there.

sudo nano /etc/wireguard/wg0.conf

  • Press the Ctrl+O keys to save the contents of the file and then Ctrl+X to exit the file.
  • Now run the following command to initiate the Wireguard connection.

wg-quick up wg0

  • PureVPN Wireguard connection is activated now. Execute the following command to deactivate the connection.

wg-quick down wg0

Was this article helpful? Rate and share your comments below. Your input matters to us and everyone else in the Cyber Security Community.

How helpful did you find this answer?

Comments (0 )