L2 LAN bridging over internet using L2TPv2+EoIP: Difference between revisions
No edit summary |
|||
Line 14: | Line 14: | ||
* Teltonika router or Gateway with Public IP (in this example we use '''RUTX11''') | * Teltonika router or Gateway with Public IP (in this example we use '''RUTX11''') | ||
* Firmware with EoIP for Teltonika device | * Firmware with EoIP for Teltonika device | ||
* | * A computer for testing and configuring the setup | ||
==Configuration of the Teltonika Device== | ==Configuration of the Teltonika Device== | ||
From the Teltonika router we will configure L2TP Client, EoIP and firewall rules in order to achieve working | From the Teltonika router, we will configure L2TP Client, EoIP, and firewall rules in order to achieve a working setup. | ||
===L2TP configuration=== | ===L2TP configuration=== | ||
Line 26: | Line 26: | ||
[[File:Networking rutxxx configuration examples l2tp rut configuration v1.png||border|class=tlt-border|1100px]] | [[File:Networking rutxxx configuration examples l2tp rut configuration v1.png||border|class=tlt-border|1100px]] | ||
# '''Enable''' the configuration | |||
# '''Server''' - input the MikroTik Public IP here | |||
# '''Username''' - username configurated on MikroTik server | |||
# '''Password''' - password configurated on MikroTik server 5. | |||
5. '''Save''' the configuration | # '''Save''' the configuration |
Revision as of 14:46, 17 April 2023
Main Page > General Information > Configuration Examples > VPN > L2 LAN bridging over internet using L2TPv2+EoIPThe information on this page is updated in accordance with 00.07.03 firmware version.
Introduction
In this configuration example we will use L2TP with Ethernet over IP (EoIP) to bridge LAN interfaces between MikroTik and Teltonika devices. EoIP is a MikroTik RouterOS protocol based on GRE RFC 1701 that creates an Ethernet tunnel between two routers on top of an IP connection. The EoIP tunnel may run over the IPIP tunnel, PPTP tunnel, or any other connection capable of transporting IP.
Topology
Placeholder
Prerequisites
- MikroTik device(with L2TP and EoIP support) with Public IP (in this example we use hAP lite TC)
- Teltonika router or Gateway with Public IP (in this example we use RUTX11)
- Firmware with EoIP for Teltonika device
- A computer for testing and configuring the setup
Configuration of the Teltonika Device
From the Teltonika router, we will configure L2TP Client, EoIP, and firewall rules in order to achieve a working setup.
L2TP configuration
We will start by configuring the L2TP client. Open your device's WebUI and navigate to Services → VPN → L2TP, add a new L2TP client, once the configuration window opens, configure the client accordingly:
- Enable the configuration
- Server - input the MikroTik Public IP here
- Username - username configurated on MikroTik server
- Password - password configurated on MikroTik server 5.
- Save the configuration