| Sadly I don't have direct tutorial in this case. After I sent reply for last time about high availability documentation of strongswan I made research about if it is possible to manipulate over Layer 4 directly in linux kernel and I found several interesting things about how to route and high availability in layer 4 stack. http://www.keepalived.org/ http://backreference.org/2013/04/03/firewall-ha-with-conntrackd-and-keepalived/ https://lwn.net/Articles/108078/ https://www.bggofurther.com/2015/02/how-to-setup-an-ipsec-tunnel-with-strongswan-with-high-availability-on-linux/ Unfortunately I never had a chance to test high availability in strongswan due to lack of hardware but if I would do it I would configure public ip address to multicast mac to deliver packets to all hosts, synchronisation of iptables firewall with conntrackd, layer 4 (including ah, esp, and udp 500, 4500 connections) synchronisation with keepalived, and synchronisation of ipsec SAs using strongswan high availability plugin. The only thing lacks here is to see documentation of stronswan ha plugin and I think it is better to contact with strongswan development team directly to get it. Or alternatively you might forget about synchronisation of ipsec SAs like in: https://www.bggofurther.com/2015/02/how-to-setup-an-ipsec-tunnel-with-strongswan-with-high-availability-on-linux/ And rely on client reconnection (most android clients try to re-establish connection in case of service restarts). If you find solution to synchronise ipsec SA or you encounter with additional failures or successes I will be happy to know it (for me it is also interesting). Anvar Kuchkartaev [email protected]
Thanks Anvar, I was very excited about the link https://wiki.strongswan.org/projects/strongswan/wiki/HighAvailability that you shared earlier. Unfortunately, it doesn't do a good job of explaining how two StrongSwan servers have to be set up to work in collaboration, in order to share the traffic and take over if one of them fails. Do you happen to know a step by step tutorial? I haven't found anything on google. Thanks, On Mon, Nov 13, 2017 at 4:36 PM, Anvar Kuchkartaev <[email protected]> wrote:
| ||||
- [strongSwan] Can StrongSwan be loadbalanced? Houman
- Re: [strongSwan] Can StrongSwan be loadbalanced? Anvar Kuchkartaev
- Re: [strongSwan] Can StrongSwan be loadbalanced... Houman
- Re: [strongSwan] Can StrongSwan be loadbala... Anvar Kuchkartaev
