I’ve got this rough tutorial for a openvpn client that Ive gotten to work,
sudo apt-get update
sudo apt-get install openvpn
cd /etc/openvpn
add .ovpn file to dir /etc/openvpn
Add lines to .ovpn for user/pass
sudo sed -i '/auth-user-pass/cauth-user-pass user.txt' *.ovpn
sudo nano user.txt
In this file create only two lines of text
username(your username)
password(your password)
press crtl+x to save the file then press y and enter.
Since the file we have created contains sensitive info we need to ensure that only the user that created the file can read and write to it. Type:
sudo chmod go-rwx user.txt
Rename ovpn file, vpn.conf
Start/Enable Service
sudo systemctl enable openvpn@vpn.service
sudo systemctl start openvpn@vpn.service
Check status:
Type:
curl http://checkip.dyndns.org