[strongSwan] Timeout on poor connection

Jamie Stuart jamie at onebillion.org
Fri Sep 29 17:59:22 CEST 2017


Hi,

We have client (running on LEDE) connecting to a server (Ubuntu). The client is connecting from rural Africa of 2G/3G with high latency and low speed.
Often, the connection does not come up, timing out after 5 retracts like the log below:


ipsec up {connection}
initiating IKE_SA {connection}[2] to {serverip}
generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_S_IP) N(FRAG_SUP) N(HASH_ALG) N(REDIR_SUP)]
sending packet: from {clientip}[500] to {serverip}[500] (378 bytes)
retransmit 1 of request with message ID 0
sending packet: from {clientip}[500] to {serverip}[500] (378 bytes)
retransmit 2 of request with message ID 0
sending packet: from {clientip}[500] to {serverip}[500] (378 bytes)
retransmit 3 of request with message ID 0
sending packet: from {clientip}[500] to {serverip}[500] (378 bytes)


Is there anything more we can do to make the connection 1) establish more reliably 2) remain ’up’ even over a power quality connection (using MOBIKE already)


Thanks in advance!

Jamie, onebillion


More information about the Users mailing list