ExtremeVPN Logo

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

Wireguard Command Line Interface (CLI) Setup Guide for Raspberry Pi (Debian)
May 9, 2023
January 3, 2024
Download PDF
Order Now

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


  • A working installation of Debian 11 (Debian Bullseye)
  • A ExtremeVPN 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 ExtremeVPN 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



  • ExtremeVPN 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.

Leave your Comment


No comments.