OpenVPN
GL.iNet routers have pre-installed OpenVPN server and client.
OpenVPN Client
OpenVPN client requires OpenVPN configuration file (.ovpn) to create the OpenVPN connection. If you have your own VPN service provider but you don't know how to get the configuration file, please refer to Get your configuration file.
Click + Add a New VPN Configuration
to upload the configuration file.
1) Upload your OpenVPN configuration file
Simply drag and drop your file to the pop up windows. It can be a single .ovpn file or a zip/tar.gz file which contains multiple .ovpn files.
Be careful that some .ovpn files use separated ca, cert, crl files. These files must be zipped together with the .ovpn file before upload.
2) Enter Description, Username and Password
Enter a description for your OpenVPN configuration file and then click Submit
to finish the upload process. In some cases, it will ask you to enter your username and password.
3) Connect to the OpenVPN server
You can now click Connect
to start the OpenVPN connection.
Once connected, you should find your IP address, data received/sent.
4) Manage configuration files
Click Management
to check the list of configuration files. You can modify the Description, User name or Password of each configuration file. You can also add, delete a configuration file or even purge all your uploaded configuration files.
If your configuration file is a zip/tar.gz file which includes multiple ovpn files, you can choose an individual .ovpn file that you would like to connect in Server.
Get your configuration file
We have tested different VPN service providers. Therefore, if you don't know how to get the configuration file, you can follow the instruction below. However, you have to contact your service provider for the configuration file if they are not listed below.
If you have any problem in the setup of OpenVPN, please contact support@gl-inet.com
Recommended:
Download OpenVPN client configuration files. We recommend going into NordVPN recommended server utility here. As show above, download the configuration file, then go to the web Admin Panel, default is http://192.168.8.1, OpenVPN Client --> Add a New OpenVPN Configuration It will pop up a dialog. Drag the .ovpn file jsut downloaed to the dialog, it will ask username and password. Input the NordVPN credentials and click Submit. Choose the configuration name and click Connect. Of course you can download all servers configs here. Tips: if the zip file is too big to upload, you can delete some .ovpn in .zip file or upload single .ovpn file.NordVPN
PIA
Download directly.
Surfshark
Login and Download directly, or read this guide.
PureVPN
Download directly.
If you are using TorGuard, you need to login the control panel and find Config Generator from the Tools menu. Choose the VPN Server and some other options. Then click Generate Config a config file will be downloaded automatically. The username and password for OpenVPN connection is different from your control panel login. You can find the VPN username and VPN password below. TorGuard
Proton VPN
ExpressVPN
*Information quoted from Expressvpn official instruction
- Log in to your ExpressVPN account.
- Once you’ve logged in to the website, click on Set Up ExpressVPN on the Active Subscriptions page. This will take you to the Downloads page.
- Click on Manual Config on the left side of the screen and then select the OpenVPN tab on the right. You will first see your username and password and then a list of OpenVPN configuration files.
Find the location(s) you want to connect to (e.g., Los Angeles, New York, Hong Kong), then download and save the .ovpn file(s) to your desktop.
Note: Please have your username and password ready, as you will be asked to enter them later in the setup process.
Others:
AirVPN
- Login your AirVPN acoount
- Choose Config Generator on the left and then choose Linux as your operating system. Next, choose your preferred server.
- You will be able to see the download page of the configuration file.
*Information quoted from Astrill official instructionAstrill
Login in Dashboard, download your configuration files and select the Linux_iOS inline format. Extract the zip files after completing the download.bolehvpn
*Information quoted from CyberGhost official instruction UDP allows higher speed than the TCP version, but can result in broken downloads in some cases. This is the default setting. TCP allows more stable connections than the UDP version, but is a bit slower. Choose this version, if you have recurrent connection issues such as sudden disconnections. After setting up your preferred settings, save them with 'Save and download configuration'.CyberGhost
Select your desired server file and drag and drop in GL.iNet setup window, such as UK-UDP. Note: You can drop multiple .ovpn files. Click on "Submit" Click on Disconnect when you want to disconnect the VPN.FastestVPN
FinchVPN
- Login your FinchVPN account.
- Go to the Download page and click Download under FinchVPN OpenVPN Config.
- Choose Linux
- Choose the protocol based on your preference. Generally, you can choose the first one “Port 8484 over UDP”
- Remember to tick the box to include your username and password before download the file.
You can download all of the config files for all of the servers from www.ipvanish.com/software/configs/ (configs.zip). Drag the configs.zip to the New OpenVPN Configuration dialog User Name and Password is your IPVanish username and password.IPVANISH
>
Download the UDP or TCP OpenVPN configs. Then drag the zip file to GL.iNet router New OpenVPN Configuration dialog. It will pop up a dialog ask for username and password, just input the email and password you login ivacy.com Choose the server by click the button show in the image below, and click Connect button.IVACY
Download the OpenVPN config files. Find the Account ID on IVPN Client Area. When drag the config file to Add a New OpenVPN Configuration, you will be asked to enter User Name and Password. The User Name is your Account ID that begins with letters 'ivpn'. The password can be anything, like "ivpn"IVPN
Just login, then you can easy get the OpenVPN configurations file by click the menu below. Choose the server and download. The username and password are the same you login OVPN.OVPN
Proxy.sh
Download according to the service that you have subscribed:
Proxpn
Download directly.
SaferVPN
Download directly.
VPN.AC
Download directly.
VPNGate
- Click OpenVPN Config file under the column “OpenVPN”.
- You will see the download page.
The OpenVPN configuration files are listed on the VPN Gate website according to the server location.
*Information quoted from VPN unlimited official instruction Start out by logging in to your User Office, press Manage for the VPN Unlimited service, and follow a few simple steps: Pick a device from the list or create a new one. If you are out of free slots, delete an old device or buy extra slots. Choosethe desired server location VPN Unlimited offers a large variety ofservers, namely 400+ in 70+ locations. In this case, let it be Germany. For the IKEv2 protocol, you will also need to specify your device’s platform. Press Generate and you will get all the data required to set up a VPN connection.VPN Unlimited(KeepSolid)
Wevpn
OpenVPN Server
You can set up an OpenVPN server on GL.iNet router. Click + Generate a configuration file
.
1) Server configuration
There are preset OpenVPN server configurations. You can also click Modify
to change them manually. Click Apply
when you finish.
2) Export OpenVPN configuration file
Click Export Config
to download the OpenVPN configuration file which you need to upload when you are configuring your OpenVPN client.
3) Start the OpenVPN server
Click Start
to start your OpenVPN server. Otherwise, you will not be able to connect to the OpenVPN server by using its configuration file.
OpenVPN Bridge
OpenVPN Bridge is supported from firmware version 3.105.
It uses tap mode to establish the connection, the VPN server will assign ip to OpenVPN Client and the devices that connected to the Client. So the Server and the devices will be in the same vpn subnet, you can access them all from OpenVPN Server.
This application need two GL routers to complete the connection.
1) Start the OpenVPN Server
Go to the OpenVPN Server page, generate a configuration file then change the Type to Bridge, there will be an ip range pool settings for the clients, normally you don't need to change the default settings.
Click 'Apply' and Start the Server, when export the config you can find the 'dev tun' is changed to 'dev tap'.
2) Upload tap configuration
Open another router's web page and upload the configuration file. Click 'Connect' then wait a few minutes.
The router will be assigned an ip by OpenVPN Server and become inaccessible, if the server's vpn gateway is 10.8.0.1, the router will get 10.8.0.2 and the computer connected to the router will get ip address like 10.8.0.60.
The connected pc will get a new ip address after the connection is established successfully:
Please pull out the lan cable and insert it again if the ip address of the connected device didn't change automatically
After the connection is established, you can access your devices from OpenVPN Server.
Example:
I can ping my phone(10.8.0.63) remotely from the local computer(192.168.8.208):
3) Stop the VPN connection
If you want to stop the vpn connection or the connection failed to establish, please hold the reset button for 4s to revert the network, then the OpenVPN client router will be accessible, you can now enter the default web page and stop the vpn connection.