< Back

How to set up Surfshark on GL.iNet router (2.x firmware)

Follow this guide in order to set up a VPN client on your GL.iNet router running 2.x firmware version.

If the interface of your GL.iNet router does not look like in this tutorial, you probably have a different firmware version installed. Proceed to this tutorial instead.


At first, collect your Surfshark credentials and configuration file(s). 

Please note, that for this connection method you will need to use Surfshark service credentials, not the usual ones that you use to log in to the Surfshark website/app.

To get them, go to this page and switch to the Credentials tab at the top. It is a good idea to keep this page open for now. You will need these credentials a bit later.



Switch to the Files tab, where you will find the list of all VPN servers.

Every server has a configuration file that you will need to use in order to connect to the VPN server. You can download all the configuration files from this page at surfshark.com.

Click on the black arrow to download the chosen file.


Then choose which file to download - UDP or TCP. Those are 2 different VPN protocols. We recommend the UDP protocol because it tends to be faster, but feel free to read more about different protocols and decide yourself.




Now, when you have your credentials and configuration file already, let's proceed to the GL.iNet configuration.


  1.  Open the interface of your router using the browser.  To do that, enter the IP address of your GL.iNet router to the URL address line.

    The most common IP address of GL.iNet is However, it might be different in your case, so check the box or the users manual of your router.


  2. Log in to your router using your default GL.iNet credentials. If you're not sure what are they, you will also find this information on the box of your router.

  3.  Once you're logged in to your router, go to the OpenVPN section.


  4. Open the Downloads folder where you have saved the Surfshark configuration file that was downloaded previously. Click on the configuration file and drag it to the marked area of GL.iNet.


  5. The configuration file will be checked. If it is successfully uploaded, you will see the note that the file was imported.


  6. You will be asked to enter credentials. Enter the ones you have collected at the beginning of this tutorial.


  7. Now you will be sent to the VPN configuration page.

    Check  Enable  and Force VPN options

    Click the green arrow and choose one of the configuration files from the drop-down menu.

    Apply settings.


  8.  If the connection is successful, you will see OpenVPN status as connected as well as sent/received data



That's it, now you're successfully connected to our server!

You may see the suggestion to set up custom DNS on your router to prevent DNS leaks. If you wish to do that, click here.


If something is not going according to the guide, feel free to contact our Customer Success sharks and they will help you out!

Was this article helpful?