Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
[SOLVED] Tuning ipsec for fastest (re)negotiation
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Tuning ipsec for fastest (re)negotiation (Read 2397 times)
putt1ck
Newbie
Posts: 27
Karma: 0
[SOLVED] Tuning ipsec for fastest (re)negotiation
«
on:
June 08, 2019, 06:13:33 pm »
We've got a setup with several offices, with VPNs between each site (fixed IPs, dedicated FTTP) which are used among other things for monitoring kit on each site from a central server. We're noticing that when the VPN lifetime expires the tunnel drops and then there's an odd delay before it re-establishes. For most purposes it wouldn't be an issue but the disconnect is long enough to make the monitoring send a bunch of alerts - and can disrupt inter-site backups.
Lifetimes are set at 28800 seconds for phase 1 and 2 at each end.
Are there any settings we could tweak to cause the renegotiation to take less time?
«
Last Edit: June 11, 2019, 01:24:16 pm by putt1ck
»
Logged
putt1ck
Newbie
Posts: 27
Karma: 0
Re: Tuning ipsec for fastest (re)negotiation
«
Reply #1 on:
June 11, 2019, 01:23:33 pm »
Ok, I may have resolved this one. A combination of using Disable Reauth on the phase 1 and limiting the encryption options on the phase 2s to a single option has reduced renegotiation times to the point that monitoring services are no longer (normally) triggered. Still get the occasional blip but that's much better than all tunnels every X hours!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
[SOLVED] Tuning ipsec for fastest (re)negotiation