< 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, please log in to your account here.

Click the Devices button.


Scroll down a little until you find the Manual section. Click on it.




Now on this page, you will find all that you need from Surfshark. At the top of the page, you will find configuration files for all our locations. Download the file of your preferred location(s). You will need to choose between UDP and TCP options. You can just choose the UDP or read more about that here.




Scroll down a little and you will find Surfshark service credentials. You will need those credentials to initiate the VPN connection on your GL.iNet. You can copy and save them in some easily reachable place, or just keep this page open.




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?