GL.iNet routers have pre-installed OpenVPN server and 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.
+ 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
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 firstname.lastname@example.org
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.
If you are using TorGuard, you need to login the control panel and generate the ovpn file from the "Tools" menu. Please select "All", using udp or tcp and select Cipher. Then press
Generate Configand the zip file will be downloaded automatically.
The username and password for openvpn connection is different from your control panel login. You can change the service username and password in my service credentials.
You can generate a random login username and password.
- Login your Proton VPN account.
- Click "Download" in the left-hand side.
- Choose Router
- Choose the protocol based on your preference and download the configuration files.
*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.
- 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 instruction
- Generate and Download Astrill Openvpn configuration ZIP
- Type a Description like OPENVPN_GUI.
- Click on ADD to my certificates button.
- Once OpenVPN certificate is added, click on Download button.
*Information quoted from CyberGhost official instruction
- Login your CyberGhost VPN online account.
- Click on 'My Devices' > click 'Other' > choose 'Configure new device'.
- At the new screen, in the 'Server configuration' tab, the desired parameters can be configured. For the purpose of setting OpenVPN for your DD-WRT Router, choose 'OpenVPN' from the Protocol drop down menu. Your desired country and server group, as described below, need to be defined too:
- Protocol: For Router configurations, please choose OpenVPN
- Country: Since native protocol connections may only be used with exactly one server you now have to choose the country you want to surf from; the server to be used in this country will be chosen by CyberGhost automatically.
- Server group: Choose the server group and the OpenVPN protocol (UDP or TCP) you want to use:
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'.
- 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.
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.
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"
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.
Download according to the service that you have subscribed:
- Login with your StrongVPN account and then you will be able to see VPN Accounts Summary. Click Account Setup Instructions”.
- Find the Manual setup section, follow the steps to get configuration.
- 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.
- Select a device
Choosethe desired server location
VPN Unlimited offers a large variety ofservers, namely 400+ in 70+ locations. In this case, let it be Germany.
- Select the VPN protocol
- Create a configuration
*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.
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.
- Access the Members Area to make a custom config using the Config Generator.
- Choose the Protocal to UDP or TCP, the OpenVPN version, and the location. Then to download the configuration.
- 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 credentials and click Submit.
- Choose the configuration name and click Connect.
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
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
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 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.
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.