Can't change main mode lifetime from default 8h
I am unable to change main mode lifetime for l2tp over ipsec vpn setting.
This is a windows 10 machine.
It is set to 8h by default and nothing I have done seems to change rekeying timer.
I used netsh commands to do that, changed the cryptoset using powershell, used gui to set the settings from 8h to 1h, all these changes are persistent, but when the negotiation happens, it does not use the settings, it always comes up with 8h lifetime.
MainModeSA:
KeyModule : IkeV1
MaxQMSAs : 0
LifetimeSeconds : 28800
CryptoSet:
MaxMinutes : 60
GPO setting for ipsec is set to 60 min as well.
Global settings:
KeyLifetime 60min,0sess
Followed all documentation, tried all posibilites, nothing seems to change that 8h default.
The peer it connects to always receives an 8h lifetime proposal.
I hope someone had this issue and would have an answer.