In this tutorial, you will learn how to configure the Surfshark VPN tunnel on your Zgemma STB or Enigma2.
To proceed, you first need an active Surfshark subscription. You can find the available plans on Surfshark’s pricing page.
You will learn how to:
- Get your credentials
- Choose a Surfshark server
- Configure the OpenVPN client
-
Ensure your connection is successful
Get your credentials
NOTE: These are not your regular credentials, such as your email and password.
-
Enter the Surfshark login page and log in. Then, click on VPN > Manual Setup > Router > OpenVPN to generate your credentials.
-
Once there, make sure that you are in the Credentials tab and click on Generate credentials.
NOTE: Keep this tab open as we'll need it later.
Choose a Surfshark server
-
Open the same page on another browser tab, go to the Locations tab, and locate the server that you wish to connect to.
- Click on the download icon to the right of the server name and click on Download UDP.
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 (refer to Get your credentials section of the article).
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.
Ensure the connection is successful
We always recommend checking if Surfshark VPN is working after setting it up for the first time. You can easily do it by performing Surfshark IP leak test and a DNS leak test. For your convenience, both are available on our website.
You may also be interested in: