- DrayOS 5, imported, vpn_configuration, vigor2136, openvpn, teleworker_vpn, self_generated_certificates, client_import
OpenVPN to Vigor Router by using the self-generated certificate (DrayOS5)
DrayOS5 Routers also support generating certificates for OpenVPN since firmware version 5.3.0. This article demonstrates how to create OpenVPN from different clients to Vigor2136 with the self-generated certificates.
-
Please confirm the time is correct on the router via System Maintenance / Device Settings / Time page.
- Go to VPN / General Setup / OpenVPN page to enable OpenVPN service as follows:
- Enable OpenVPN service.
- Enable TCP Mode or UDP Mode, depends on which transfer protocol you would like to use for OpenVPN connections.
- Customize the TCP Port and UDP Port you like.(Optional)
- Generate certificates.
- Choose Router Generate Certificates.
- Click Generate
- Click Apply to save.
- Go to VPN / Teleworker VPN to create Teleworker VPN profile as follows:
- Enter Username in Account tab.
- Go to Teleworker VPN tab and select Enable.
- Enter Teleworker VPN Password.
- Select Enable OpenVPN in Allowed VPN Protocols.
- Select the LAN subnet assigned to the user
- Click Apply to save the profile.
- Go back to VPN / Teleworker VPN page to export OpenVPN configuration file.
- Click Teleworkers Configuration Generator.
- Choose the WAN interface that allows OpenVPN connection.
- Select the Protocol you would like to use.
- Select Download zip file.
- Click Download Configuration.
Connecting from Windows via OpenVPN
- Download and install OpenVPN tool for Windows. Import the client configuration file by right-clicking the OpenVPN GUI icon on the taskbar, navigate to Import then click Import file...
- Select client.ovpn we just downloaded from router then click Open.
- Establish the VPN connection by right-clicking the OpenVPN GUI icon on the taskbar, navigating to the profile then click Connect.
- Enter Username and Password, then click OK to connect.
-
We can check the VPN status after the connection is established.
Connecting from Windows via OpenVPN with Smart VPN client
OpenVPN is supported by Smart VPN client since v5.2.0, please install OpenVPN tool for Windows first.
- Add a new profile and choose OpenVPN as VPN Type.
- Import client.ovpn we just downloaded from the router with full path into Smart VPN Client.
- Enter Username and Password, then click OK to save the profile.
-
Switch Connect button to dial up VPN and we can check the VPN status after the connection is established.
Connecting from macOS by Tunnelblick
- Download and install the OpenVPN client software. Start the software and import the client configuration file by clicking I have configuration files.
- Double-click the client configuration file, then select "All Users" or "Only Me", depending on whether to share this VPN profile with other users. (Note: If you can't import the client configuration by double-clicking it, please try to drag and drop the ovpn file on the Tunnelblick icon on the menu bar or dock.)
- To start the VPN tunnel, right-click the Tunnelblick icon on the menu bar, then click Connect openvpn ("openvpn" is the name of the client configuration file)
-
We can check the VPN status after the connection is established.
Connecting from iOS by OpenVPN Connect
- Download OpenVPN Connect from the App store. Then, send the config file to the iOS device, here we send it via mail. On the iOS device, tap the file and open it by OpenVPN app.
- Tap "ADD" to import the client configuration.
- Enter Username and Password, then tap ADD.
- Switch on VPN.
-
We can check the VPN status after the connection is established.
Connecting from Android by OpenVPN Connect
- Download OpenVPN Connect from Play store. Send the configuration file to Android device, here we send it via mail, then download it to the device.
- Import the client configuration file: Open OpenVPN Connect, then tap the menu icon on the top right of the app.
- Choose Import Profile from SD card and select the client configuration file.
- Establish VPN connection, enter Username and Password, then tap Connect.
-
We can check the VPN status after the connection is established.
Connecting from Linux (Ubuntu)
- Download the config file from the router and run CLI.
- Move to the directory where the configuration file is located.
- Install OpenVPN package by command
sudo apt-get install openvpn - Connect OpenVPN by command
sudo openvpn --config [openvpn config filename] -
Enter username and password.
