ExtremeVPN Logo

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

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

The following is required for setting a OpenVPN 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 OpenVPN packages and files. Type the following to install them:
    1. sudo bash
    2. sudo apt-get install openvpn
  • Now download the ExtremeVPN OpenVPN files and unzip/extract them.

wget

unzip New+OVPN+Files.zip src=”https://d32d3g1fvkpl8y.cloudfront.net/2023/01/image-5.png” alt=”” width=”700″ height=”340″ />

 

  • Now access the directory where the openvpn files are downloaded and select either TCP or UDP location.
    1. cd New+OVPN+Files/UDP/
    2. OR
    3. cd New+OVPN+Files/TCP/

 

  • Now to connect to the VPN, run the command:

 

sudo openvpn ustx2-ovpn-udp.ovpn

 

  • (In this case the USA UDP server is used to connect to the VPN as an example. You are free to choose any server that best fits your requirements. In order to view all available servers and their names, press the Tab key twice immediately after sudo openvpn)

 

 

  •  You will be immediately prompted to enter the Auth Username and Auth Password, enter your ExtremeVPN username and its password respectively.

 

 

  • You are now connected to ExtremeVPN.
  • In order to disconnect the connection, run this command:

 

sudo killall openvpn

 

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

Comments

No comments.