This article will demonstrate how to secure your Ubuntu system with an Acreto Secured Connection. To create an additional layer of security, we’ll use the OpenVPN application.
Before proceeding to the installation, make sure that you’ve added at least one Thing to your Ecosystem - if not, check how to do it.
Acreto Wedge offers a ready-to-use script that will install and configure the Acreto client on your Ubuntu system:
sudo ./acreto-connect.sh
Once the script finishes downloading your device should be connected to Acreto.
The script:
In case the TLS client is already installed, the user is presented with a menu to update/remove it.
Don’t want to manage the VPN setup automatically?
How to connect to OpenVPN manually using the terminal:
ctrl + alt + t
).sudo apt-get install openvpn
(if asked for a password, enter the password used
when creating your Linux account).cd /etc/openvpn
curl -k --silent --request POST -H 'Accept: text/plain' \
https://api-is-rock-solid.acreto.net/v2/tlsvpn/config?_token=SECRET
In case you get an ERROR, the certificate is not trusted.
Please install the ca-certificates package with the command:
sudo apt-get install ca-certificates
sudo openvpn [file name]
For example:
sudo openvpn acreto.ovpn
ctrl + c
.