How to use SurfShark or OpenVPN on Tumbleweed?

Hi everyone, I just bought SurfShark VPN and they have a GUI, but it’s only for Ubuntu/Debian since it’s a .deb package.

How can I use SurfShark’s GUI on openSUSE Tumbleweed? Is there a workaround to get it working or a guide somewhere?

You can download OpenVPN configs from https://my.surfshark.com/vpn/api/v1/server/configurations. And then import individual configs into NetworkManager https://imgur.com/a/qUJhhgE

I’ve found this script, maybe it’s helpful to you https://github.com/usdogu/surfshark-installer/blob/main/README.org

Also I’ve found another way, you can simply convert the deb file to rpm using ‘alien’ https://build.opensuse.org/package/show/system%3Apackagemanager/alien

and then alien -r file.deb

Here’s what I got https://filetransfer.io/data-package/ccOVkfZ2#link

You should then be able to install it with your package manager, zypper or via yast

Please note that you won’t get updates to that installed package and you got to do it manually!

I tried, what is the terminal command?
I tried surfshark-release, surfshark and it didn’t work

I can say a thing about openvpn. The ovpn file is a text file that you can use to create NetworkManager openvpn connections by reading the fields of ovpn file opened in a text editor and filling the same fields on NM openvpn interface.

You must have the packages NetworkManager-openvpn-gnome or plasma-nm5-openvpn for KDE and also in any case, NetworkManager-openvpn

Works pretty well, I’ve 4 OVPN networks configured that way.

Awesome I’ll try this way. Have you been able to get the GUI working on TW? Also, how do I enable a killswitch?

Yeah this. Always use native solutions if possible.

I did the first option and got it to work with the CLI, but when I connect it doesn’t actually connect or change my IP even though it says it does in the CLI.

I tried the alien way, but I can’t figure out how to get it to execute or turn on…

It should be surfshark-vpn.

You can also try auto completion via hitting the tab button in case you didn’t know

Hi, I know it has been a while but can I ask you how are you able to use the ovpn file from SurfShark under KDE? I can only use this under Gnome, it never worked under KDE, did you edit it in some way? Thanks.

You mean the Surfshark app? I haven’t tried that. Plasma NM is good enough UI. You can use auto-connect to VPN for a WiFi network, it would disconnect WiFi if VPN connection fails.

For VPN killswitch I think you can use firewall rules. I haven’t tried it though.

They got a guide

Just remember to use zypper instead of apt.

And for network manager

It works now thanks! How do I enable the Killswitch?

I don’t use SurfShark, so I can’t say a thing about it. Sorry…

But you can open the ovpn file using a text editor, and copy the values on fields to NM openvpn interface or you can import the whole ovpn file in NM openvpn interface .

It is kind of hidden thought…open NM interface. On the left pane there is the current connection, at bottom there is a + sign to add a new connection. On the new windows, scroll all way down until you see “Other” - “Import a VPN connection”. Here you can load the ovpn file.

Well I did install it, but the issue is that I can’t find where it downloaded or how to open it after installing. It doesn’t show up in my apps menu

If you successfully installed it, then you should be able to start it via terminal command, have you tried that?

Well it didn’t download a GUI, just a CLI

I see, I thought you installed the GUI .rpm from the deb via alien. That wasn’t clear to me.

Honestly no idea how to setup that killswitch.

Well I did do that too, but I can’t find where it downloaded the GUI. It doesn’t show up in my apps menu

Yeah, it looks like the alien thingy was a bad idea, it doesn’t convert everything correctly. I’ve just looked at the data list and that most likely explains it. You can savely remove it…