Comment on page

Linux Terminal

This guide will show you how to connect to GoodAccess using Linux Terminal.
All of the following examples require "superuser" privileges. You can run the system commands under the "root" user or with the "sudo" command.
The following script works on Linux systems with apt or yum installers. If you have a different Linux system, you will need to install the OpenVPN package manually.

Step 1

Get your OpenVPN credentials and OpenVPN configuration file.
How to get the OpenVPN credentials and OpenVPN configuration file:

Step 2

Go to /usr/local/bin/ and download the script there:
cd /usr/local/bin/
sudo wget

Step 3

Run the script with the -s parameter and path to the OpenVPN configuration file in order to set up a new connection:
sudo sh -s /path/to/file.ovpn
You will be prompted for:
  • OpenVPN credentials
  • Custom Connection Name (e.g. us-tx-dallas-john)

Step 4

Run the script again using the -r parameter and connection name (e.g. us-tx-dallas-john):
sudo sh [-r [name of your connection]]
You can omit the parameters if you have configured just one connection.
The connection process runs in a terminal window. Expect many information lines describing the connection process.
You are successfully connected when the following message appears:
Initialization Sequence Completed