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.
Get your OpenVPN credentials and OpenVPN configuration file.
How to get the OpenVPN credentials and OpenVPN configuration file:
- Ask your GoodAccess Admin to provide you with your OpenVPN credentials and OpenVPN configuration file.
cd /usr/local/bin/
sudo wget https://cdn-volume.samohyb.com/linux/goodaccess.sh
Run the script with the -s parameter and path to the OpenVPN configuration file in order to set up a new connection:
sudo sh goodaccess.sh -s /path/to/file.ovpn
You will be prompted for:
- OpenVPN credentials
- Custom Connection Name (e.g. us-tx-dallas-john)
Run the script again using the -r parameter and connection name (e.g. us-tx-dallas-john):
sudo sh goodaccess.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
Last modified 4mo ago