Open CapBarbossa opened 1 year ago
This keepalive 0 0 solution is from chatGPT, which I doubt if it is bullshiting.
Relying on ChatGPT for proper information is weird to say the least. Just leaving out keepalive/ping options works just as well.
You also provided no evidence that disabling keepalive is not working. There are other timeouts etc. that will break a connection eventually. keepalive is just designed to detect a broken connection early.
IMPORTANT NOTE I want to disable keepalive function to keep tunnel regardless of whether remote machine is down.
Describe the bug I set
keepalive 0 0
in server configuration, but NOT specified the same in client configuration. After launching server and clients, clients first got private IP as expected, but in following 40~60 minutes, clients kept requesting IP addresses from server, ending with failure, and both server and clients couldn't work anymore. Thiskeepalive 0 0
solution is from chatGPT, which I doubt if it is bullshiting. In official documents, I didn't find any double 0 settings mentioned.To Reproduce In configuration on server side:
keepalive 0 0
Expected behavior The tunnel established persist, can NOT be ended automatically.
Version information (please complete the following information):
Additional context Nothing else.