Routing between Rancher Hosts?

At the moment I play with some special network setups to see what is possible.

Rancher Hosts create a secure network between hosts, but is it possible to route additional subnets via rancher hosts?


LAN1 <–> Host1 <–> Rancher Server <–> Host2 --> LAN2

Default GW LAN1 and LAN2 should be the Rancher Server (Host) which have the internet uplink. So use rancher hosts like site2site vpns?

It would be possible and I think much easier with additional VPN containers (--net=host), but maybe there is a way to use the rancher network without heavy modifications?

Just ask that before I start to build it with OpenVPN containers :wink: