Template:Networking rut configuration example openvpn bridge use case

From Teltonika Networks Wiki
Networking rut configuration example openvpn bridge use case topology v1.png

Configuration overview and prerequisites

Prerequisites:

  • One RUTxxx router
  • A Public Static or Public Dynamic IP addresses
  • An end device to configure the router (PC, Laptop, Tablet, Smartphone)

The topology above depicts the OpenVPN scheme. - The router with the Public IP address ({{{name}}}) acts as the OpenVPN server and other {{{name}}} acts as client. OpenVPN connects the networks of HQ Office and Remote Office. Only LAN traffic is going to go through that tunnel, any other WAN traffic won't go through it. This way the VPN tunnel will not be under a huge load and will provide greater speeds.

When the scheme is realized, remote office workers will be able to reach HQ’s internal network with all internal systems, allowing working from remote office to be possible.

Configuring HQ office router

OpenVPN


Networking rut configuration example openvpn bridge use case 1 v1.png

Login to the router's WebUI and navigate to the Services → CLI page and do the following:

  1. Enter username root .
  2. Write the Password of your router.

Networking rut configuration example openvpn bridge use case 2 v1.png

Write the following commands to create and getStatic key:

  1. cd /etc/easy-rsa
  2. openvpn --genkey --secret static.key
  3. cat static.key

Networking rut configuration example openvpn bridge use case 3 v1.png

Networking rut configuration example openvpn bridge use case 4 v1.png

Networking rut configuration example openvpn bridge use case 5 v1.png

Configuring remote office router

OpenVPN


Networking rut configuration example openvpn bridge use case 6 v1.png

Networking rut configuration example openvpn bridge use case 7 v1.png

LAN


Networking rut configuration example openvpn bridge use case 8 v1.png

Results

Networking rut configuration example openvpn bridge use case 9 v1.png