surfshark-vpn doesn’t seem to work for Linux somehow for several months. At least I thought it was just because I was overseas.
Surfshark itself seems to be working. Just the script itself doesn’t seem to be able to connect to any server anymore.
Manual configuration with OpenVPN works. But DNS Leak test from SurfShark failed because the test seems to consider OpenDNS unsafe to use.
And the manual configuration can be made a little bit more automatic with the following.
- Create auth.txt file inside /etc/openvpn directory via this command
sudo gedit /etc/openvpn/auth.txtFill it with your SurfShark Service Credentials:
username
password(Replace username with your manual connection username and password with manual connection password). Save this file.
- Afterward, open the configuration file which you are using to establish the connection to Surfshark:
sudo gedit /etc/openvpn/ca-mon.prod.surfshark.com_udp.ovpnFind this line – auth-user-pass and then add auth.txt at the end. It should look like this:
auth-user-pass auth.txtSave this file and change this file name into something more convenient, like ca-montreal.conf in this case:
sudo mv /etc/openvpn/ca-mon.prod.surfshark.com_udp.ovpn /etc/openvpn/ca-montreal.conf - Then you will need to modify the startup on boot configuration file using this command:
sudo gedit /etc/default/openvpnOnce the text editor opens, add the following line above #AUTOSTART=”all” part:
AUTOSTART=“ca-mon”Save the file and reboot your Linux device.
- After the reboot, open Terminal and type the following command:
sudo traceroute 8.8.8.8The first hop address should be 10.8.8.1 and in ipleak.net you should see the Canada Montreal (depending on your file) servers IP address.