xize11
14
I know openvpn is layer 2, but why the difficult path?
Wireguard is not layer 2 by default, but you have also protocols to encapsulate layer 2 through a tunnel inside wireguard.
Currently i run a setup like this and it works flawless, and much easier to configurate than openvpn.
My main headaces with it, is knowing the deprecated config nodes which has to match with a newer server config nodes or vice versa the other way around once the config is complicated.
Wireguard is very simple, and using luci-proto-vxlan works also very nice, you only need some knowledge how to configurate it with DSA but if you get it, its much easier.
Heres some screenshots:
click to expand
the vxlan interface:
I point the tunnel addresses to each other.
And here i vlan tag it on br-lan see vlan 50:
and here the bridge device itself:
Also if you like the terminal, there is also a new tool which combines wireguard with vxlan called unetd.