Hello, I am looking for a most fitting solution of a L2 VPN using RouterOS as a VPN gateway.
I would like to set up a transparent ethernet interconnection between a company headquarters LAN and branches LANs (many). There is a DHCP server on HQ’s LAN, all clients on all branches should be able to get their IP address from that DHCP server. Assume that HQ as well as branches will be equipped with Mikrotik RouterOS devices (routerboards) for that purpose.
Primary functionality requirements:
-
Any device (any MAC address at any branch or HQ) must be able to talk to any other, regardless its location - its up to the gateway to ensure bridging.
-
The VPN connection must bridge full ethernet frames (including VLAN tags and/or other stuff, if possible)
Transport requirements:
- The encapsulating (wrapper) transport connection should be firewall and NAT friendly, must be initiated from the client (branch) side and must not rely on client’s addresses. The clients (branches) are all behind NAT and their VPN’s IP address can be changed at any time. It would be a benefit, if a VPN server could operate behind NAT too, but this is not a requirement.
Optional requirement - road warrior:
- It would be good feature to allow a single user connection from a Windows computer (probably L2TP), behind NAT and with any IP of course. Such connected computer must be able to talk to any MAC in any location using its VPN interface.
Thank you for the tips!
Jan