Since wireguard now supports layer 3 hotspot I was wondering how it’s possible to use some kind of hotspot setup in layer 3 and not layer 2 level.
There are couple scenarios for such a setup.
The first is pppoe/l2tp/pptp/sstp/ovpn clients which are not directly connected.
The second is routed clients.
For example, I have a central Router with /24 and a snat for couple clients.
ie all of the clients are snat via the main address and some have a dedicated /32 snat for their local address/addresses.
The gateway has 192.168.1.254/24
An upstream router has the 192.168.150.254/24 subnet.
The main gateway 192.168.1.254/24 have static route to the 150 net via 192.168.1.150
I want to put hotspot on the 1.254 GW that will be applied only for the 192.168.150.0/24 subnet.
The other clients which are connected to the 192.168.1.150 are connected via pppoe on another subnet with static ip addresses from the pool 192.168.101.0/24.
With linux I can do that easily, however I tried to understand if it’s possible to apply the same using RouteroS.
Thanks!!