Usually if it "takes down the tunnel" it's due to no traffic. Keep interesting traffic going and it will stay up.
If you have the ability to set "auto = route" it will reestablish the tunnel as needed. We run several hundred tunnels this way in AWS without issue. EKG > On Sep 13, 2017, at 09:21, Turbo Fredriksson <tu...@bayour.com> wrote: > > I’m trying to setup a tunnel between two regions in > AWS. > > Works fine, other than the fact that Strongswan seems to take > down the tunnel automatically (?) after a few hours. > > How can I 1) make sure there’s no timeout (?) and 2) that IF > the tunnel goes down, for whatever reason, that it will reinitiate > the connection automatically? >
smime.p7s
Description: S/MIME cryptographic signature