< Back

How to set up your Zgemma STB with Enigma2?

This tutorial will show you how to set up the Enigma2 or Zgemma with Surfshark.

At first, you will need to get Surfshark service credentials. Those are the credentials, different from the ones that you use to log in to our website or the app.  To find them, go to the login page at surfshark.com, and log into your account. 

Once you log in, go to VPN -> Manual setup -> Router and select the Credentials tab. You will find your service credentials there.


On the same page, tap Files on top of the page. you will find configuration files of all our servers. You will need a configuration file to connect to our server. Choose your preferred location and download the file.


Choose the UDP protocol, unless you prefer TCP.


  1. Open the downloaded .ovpn configuration file with your preferred text editor. We recommend using WordPad (built-in Windows text editor) or NotePad++ (third-party text editor).

  2. Add login.txt string next to auth-user-pass line and save the configuration file as client.conf:


  3. Create a new text file login.txt and paste Surfshark service credentials that you have collected in the beginning of this guide.


    First line is a generated username and the second line is a generated password.

  4. Connect to your device through the Telnet and enter the following command:

    opkg install openvpn

    When setup is complete, reboot the device.

  5. Connect to your device through the FTP or SSH, and create a new folder named openvpn in /etc/ path. After that, upload the client.conf and login.txt files to /etc/openvpn folder.

  6. Start the OpenVPN on the Menu >Setup >System >Network >OpenVPN Setup >Press Green To Start OpenVPN.
Was this article helpful?