Autostart Surfshark on login

This is what they send me:

1. Create auth.txt file inside /etc/openvpn directory via this command:

sudo gedit /etc/openvpn/auth.txt
 
Fill it with your SurfShark Service Credentials:

username

password

Save it.

2. Then open the file which you are using to establish a connection:

sudo gedit /etc/openvpn/ca-mon.prod.surfshark.com_udp.ovpn

And change this line:

auth-user-pass

into

auth-user-pass auth.txt

Save the file and change its name:

sudo mv /etc/openvpn/ca-mon.prod.surfshark.com_udp.ovpn /etc/openvpn/ca-mon.conf

3. Then you will have to edit the startup on boot file via this command:

sudo gedit /etc/default/openvpn

When the text editor opens, add this line above #AUTOSTART=“all”:

AUTOSTART=“ca-mon”

Save the file and reboot your Linux device.

4. After the reboot - open the terminal and type in:

sudo traceroute 8.8.8.8

The first hop address should be 10.8.8.1 and in ipleak.net you should see Canada Montreal servers IP address.
1 Like