Connect HA OS in VPN L2TP/IPSEC to a remote network

Hi all,
I have two sites.
The main one has my HA server (using HA OS in a VM).
The second one has a L2TP/IPSEC VPN server and several IoT devices (Shelly, …)
I would like to give access to my HA server to the second site LAN through the L2TP/IPSEC VPN link.

So, is it possible to create a VPN network interface in HA OS ?


I haven’t come across this use case on the Community Forum, so I don’t know of a solution I can point you to, but I have seen others use AddONs for VPNs. Most of these I believe are Layer-3 based, and the only one I’ve come across that is somewhat Layer-2 based is ZeroTier but from what I’ve researched it does not use L2TP.

Thinking out-loud a bit, If I were trying to come up with a solution, I would try to create an AddOn using something like this docker IPSec/L2TP Client and go from there.

Thanks for your answer.
Unfortunatly I’m not a developper. I won’t be able to develop that kind of addon. But It could be great to have something like that.