WIKI
ABOUT
Login
Remember
Register
FOR TIPS, gUIDES & TUTORIALS
subscribe to our Youtube
GO TO YOUTUBE
Recent
Questions
Popular
Unanswered
Tags
Members
about
wiki
Search
Search
14170
questions
16819
answers
27660
comments
54140
members
Most popular tags
rut955
rut240
rut950
rutx11
rms
vpn
to
wifi
openvpn
not
sms
trb140
firmware
connection
-
ipsec
on
rutx12
rutx09
modbus
IPSEC connects then disconnects
0
votes
158
views
4
comments
asked
Mar 22, 2022
by
Stoffe
I have a rutx09 that i'm trying to connect to a zyxel flex 200 through a ipsec-tunnel. The tunnel connects successfully but immediately disconnects. I cant find any error messages in the logs of the rutx09 or the Zyxel.
The rutx09 is the client and does not have a public ip, but have three other older teltonikas also with private wan ips connected with ipsec to the same zyxel.
I´ve tried everyhing and i'm completly out of ideas.
Help... please...
ipsec
disconnects
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Mar 22, 2022
by
flebourse
Hello,
What are the IKE lifetime and Lifetime of your tunnel ?
In the logs, do you have lines containing "scheduling rekeying" and / or "maximum IKE_SA lifetime" ?
Regards,
commented
Mar 22, 2022
by
Stoffe
Hi!
I've set both to 86400, tried lower values aswell but no diffrence.
I'm not able to check the logs now, i had to deliver the equipmet to the customer. I'll check later.
Regards
Christoffer
commented
Mar 22, 2022
by
Stoffe
Hi again!
Heres from the log:
scheduling reauthentication in -647s
maximum IKE_SA lifetime -107s
/Christoffer
commented
Mar 22, 2022
by
flebourse
So you have the culprit, a negative lifetime cannot work the tunnel is established and shutdown immediately.
Check again both lifetime fields, beware of the unit: 24 is 24s you must input 24h to have 86400 s.
commented
Mar 22, 2022
by
Stoffe
Aaahh.. added a 'h' and now its working, thank you! You saved my day!
Please
log in
or
register
to add a comment.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.
Ok
Read more