OpenVPN Usage

From Lofaro Lab Wiki
Revision as of 12:26, 3 September 2021 by Dlofaro (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

-Test On- This tutorial was tested on Ubuntu 18.04 LTS and Ubuntu 20.04 LTS however it may work on other platforms

-Install- Run in a terminal

 $ sudo apt update
 $ sudo apt install openvpn
 $ sudo apt install net-tools

-Run- To run open an terminal and cd into the directory that contains your openvpn cert file

 $ cd [directory with your_openvpn_file.ovpn]

Run the openvpn

 $ sudo openvpn --config your_open_vpn_file.ovpn

Leave that terminal open and open a second terminal. Now you can check to make sure you have a connection. Run:

 $ ifconfig

One of your interfaces should have an ip address that is associated with your VPN, usually 10.8.X.X.