We're using OpenVPN on CentOS to connect a branch Office to our main location. The current setup with a single bridge works fine
Main Office (192.168.1.0/24) | Branch (192.168.1.0/24)
----------------------------------|------------------------------------
OpenVPN Server br0: 192.168.1.253 | OpenVPN Client br0: 192.168.1.2544
Now we need to bridge a separate VLAN to the branch office. The goal is to replace the rented connections to other offices (which are rather expensive) with a bridged OpenVPN setup.
The new setup
VLAN 1 untagged \ / VLAN 1 untagged
Switch Port 1 > OVPN Server br0 >--< OVPN Client br0 > Switch - - Port1
VLAN 2 tagged / \ \ VLAN 2 tagged
\
\
Port 2 - VLAN 2 untagged
I thought this
https://forum.openwrt.org/viewtopic.php?id=33678 was the solution to my problem, but it's just a VLAN connection between the OpenVPN server and client and no bridging to both LANs (main and branch office). It also involves instructions for a specific router model while we use CentOS based servers on both sides.
I think i read each and every topic, that had 'VLAN' and 'tagging' in it, but i just could not find a solution. Is this possible at all? I don't want to use tunneling and routing, but just make the connection "fully transparent".