I would like to create a Layer 2 VPN across four sites. All RUT241s are managed in RMS. I’ve now created a VPN HUB in TAP mode. All four routers are connected and online in the VPN HUB. However, I can’t ping any of the other sites from the sites. DHCP from Site 1 to the other sites doesn’t work either.
What else do I need to configure to make this work?
I absolutely need Layer 2 communication because that’s the only way the PLCs can communicate with each other.
Have you tried setting up the VPN HUB in TUN mode with routes and masquerading set up?
Please try to turn on masquerading in the firewall zones of the routers. You can do so by going to Network → Firewall → Zones and ticking the Masquerading to be on.
I have deleted one of your images because it contained sensitive information, please refrain from posting sensitive data (serial numbers, MAC addresses, etc.) to the forum.
You sent the zones configuration, please turn on Masquerading on the LAN->WAN destination you have to do this on every single router.
By default, the TAP interface isn’t bridged to the br-lan (LAN) interface, which prevents Layer 2 communication over the VPN tunnel.
First we will need to connect to the router’s CLI, here are the instructions on how to do so:
To resolve the issue, you must edit the /etc/config/network configuration file. Specifically under the br-lan device options, manually add this line list ports ‘tap+’
You can use vim editor, so execute the command vi /etc/config/network, then press Insert or the letter “I” on your keyboard, you will be able to edit the file. To save, press ESC, write :wq, and press ENTER