Openvpn fast installation on Clear Linux OS (ex. shown with SurfShark )

Hi,

Here is a fast and easy way to install openvpn on Clear Linux OS
( I’m using SurfShark but it is the same for other providers )

Everything in root mode :

Installing

 swupd bundle-add unzip;
 swupd bundle-add network-basic; 
 mkdir /etc/openvpn;
 cd /etc/openvpn; 
 wget https://my.surfshark.com/vpn/api/v1/server/configurations; 
 unzip configurations;

Running

 cd /etc/openvpn;
 ls | less; # List all disponible VPN
 openvpn <VPN_selected_on_the_list>;  # Choose a VPN on the list

Example :
I choose on the list : Jakarta on udp

openvpn id-jak.prod.surfshark.com_udp.ovpn

Login :
With given credential ( given by SurfShark in my case )

Checking with :
https://whatismyipaddress.com/

Everything OK, I’m now on Jakarta, Jakarta Raya, Indonesia

Stopping
Ctrl + C

Best regards,
ClearLinux.User.809

1 Like