In this tutorial, you will learn how to configure the Surfshark VPN tunnel on your Zgemma STB or Enigma2.
You will learn how to:
To proceed, you need to have an Enigma2 or a Zgemma STB and an active Surfshark subscription, which you can purchase on our pricing page.
Find your login details
Surfshark service credentials are different from your Surfshark account credentials, namely your email address and your password. You’ll need Surfshark service credentials to connect to the VPN using the manual OpenVPN configuration method explained below.
Here is how you can get your Surfshark service credentials:
- Go to this page, where you will find all of the details required for a manual connection.
You may need to log in before proceeding to this page. In that case, enter your email address and your password, then click Log in.
Click on the Credentials tab at the top. You will find the Surfshark service credentials here.
It's a good idea to keep this page open for now. You will need these credentials a bit later.
Choose a Surfshark server
Every server (location) has a configuration file that you will need to connect to the VPN. You can download all of the configuration files from our website.
- Go to this page. It’s the same page where the Surfshark service credentials are stored.
- Select the Locations tab, where you will see all of the Surfshark servers.
You will need an OpenVPN configuration file for the location of your choice. For example, if you wish to connect to Germany, download Germany - Berlin or Germany - Nuernberg server by clicking on the location and then on UDP to download the configuration file.
Configure the OpenVPN client
- Open the downloaded .ovpn configuration file with your preferred text editor. We recommend using WordPad, which is a built-in Windows text editor, or NotePad++ (a third-party text editor).
Add login.txt string next to the auth-user-pass line and save the configuration file as client.conf:
- Create a new text file. Name it login.txt and paste the Surfshark service credentials you collected in the Find your login details part of this guide. Enter the generated username into the first line of the text file and the password into the second line.
Connect to your device through Telnet and enter the following command:
opkg install openvpn
When the setup is complete, reboot the device.
- Connect to your device through FTP or SSH, and create a new folder named openvpn in the /etc/ path. After that, upload the client.conf and login.txt files to the /etc/openvpn folder.
- Start OpenVPN by going to Menu >Setup >System >Network >OpenVPN Setup >Press Green To Start OpenVPN.
Congratulations - you have successfully installed and configured Surfshark VPN on your Zgemma STB or Enigma2! As long as you’re connected, your location is private, and your sensitive data is secure.
You may also be interested in: