All Collections
Ruijie Networks / Reyee
Configure OpenVPN Server on Ruijie SMB Router
Configure OpenVPN Server on Ruijie SMB Router

Step-by-step Explanation of How to Configure an OPENVPN Server

E
Written by Engineering
Updated over a week ago

In this article, we will learn the steps to configure Failover on Ruijie's SMB equipment:

INTRODUCTION

OPENVPN

It is a free software-based connectivity tool: SSL (Secure Sockets Layer), Virtual Private Network (VPN). OpenVPN provides point-to-point connectivity with hierarchical validation of users and remotely connected hosts

This protocol uses port 1194 on UDP.

CONFIGURATION

Router

  1. Access the router and select the 'Router or Gateway' tab.

*If you have the default IP, it is 192.168.110.1

2. Go to the VPN -> OpenVPN section, and enable the service.

3. Fill in the data as follows:

  • VPN Type: Server

  • Server Mode: Account (you need to create an account in VPN => VPN Clients)

  • Protocol: UDP

  • IP Address or Domain: Public IP or Domain where this device is installed.

  • Communication Port: 1194 (Default)

  • IP Range: Create a network segment for the VPN tunnel here.

  • Communication Routes: Add the LAN segments of this device to which you want to provide communication to VPN users.

Advanced Mode (Collapse):

  • TLS Authentication: Enable it to encrypt our information.

  • Compress Information: Yes

  • Route all traffic through the VPN: No (this depends on the utility of the VPN)

  • Encryption: It can work with the default one.

  • DNS Delivery: In case you don't manage DNS within the organization, you can use the ones you prefer.

"Save the configuration and export the 2 files.

4. Configure VPN users. Go to the VPN -> VPN Client section and add a new one."

5. Enter the username and password for each client.

Example:

After configuring the clients, proceed to configure the VPN clients.

VERIFICATION

OpenVPN Software

You can download the OpenVPN client at this link (select the appropriate version for your PC): Download here. Install the software.

1. Extract the .rar file that we downloaded when exporting the configuration files and place it in a folder. You will have a folder named ETC, in which the file we will import is located.

2. Import the file in the following manner and establish the connection.

Select the client file.

3. Right-click on the OpenVPN icon in the system tray and then select 'Connect.' If you are using the account authentication method, you should enter your VPN account at this step.

Enter the username and password of the client that was created.

With this, our configuration is complete.

Other related articles that may be helpful:

  • Configure VLAN

  • Configure Failover

  • Enable DPI

  • Limit Speed (QoS)

  • Disable Unused Ports

Did this answer your question?