Article View: comp.misc
Article #193Re: Keeping An OpenVPN Connection Alive
From: JJ
Date: Thu, 26 Nov 2026 02:58
Date: Thu, 26 Nov 2026 02:58
41 lines
3273 bytes
3273 bytes
On Wed, 25 Nov 2026 22:29:56 -0000 (UTC), Lawrence D’Oliveiro wrote: > I have two OpenVPN connections between my office and other premises: > one goes to a client’s location, and the other to my VPS at a hosting > service. > > My email is delivered to the latter, and picked up on my main office > workstation by a cron task running every 10 minutes. Some days (like > recently), this task will report multiple connection failures per day. > Other times, it will work happily for days on end without a hiccup > reported. > > The connection to the client’s office is not used in the same way -- > only when I need to do some work for them. > > Both leave my premises through my house internet router, so I don’t > think that can be the problem. > > So I decided to compare the reliability of the two, with concurrent > ping tasks running continuously at the same (low) frequency. > > I just had them running overnight at one ping a minute, and both > worked without a hiccup. So I stopped them and restarted this morning > with a ping frequency of once in 5 minutes, and already I was getting > lost packets to my VPS, while the client connection remained fine. > > Now I have the frequency at one ping every 2½ minutes, and both are > back to working OK. This points to some kind of timeout happening on > the link to the VPS, with an expiry somewhere between 2½ and 5 > minutes. > > Looking the sort of errors logged, they say things like “TLS ERROR: > local/remote key IDs out of sync” and “TLS Error: TLS key negotiation > failed to occur within 60 seconds (check your network connectivity)”. > > Keys getting out of sync is a peculiar one -- does that sound like > spurious packets coming in from some other source, that look like they > are coming from me? Check using Trace Route instead of Ping, so that you'll know exactly which network node within the network route (to specific network destination), is performing poorly.
Technical Details
Message-ID:
<6kt6yxv01if3$.djajmlps61g$.dlg@40tude.net>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11e7nh4$6089$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: JJ <jj4public@gmail.com>
Newsgroups: comp.misc
Subject: Re: Keeping An OpenVPN Connection Alive
Date: Thu, 26 Nov 2026 09:58:53 +0700
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <6kt6yxv01if3$.djajmlps61g$.dlg@40tude.net>
References: <11e7nh4$6089$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-13"
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 26 Nov 2026 02:58:54 +0000 (UTC)
Injection-Info: dont-email.me;
logging-data="359650"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18RpKcV0pE/t8+O+urcIyTUzlWX0ILeW7o="; posting-host="5c611c0dcf287ffd38cfb1e0191db06b"
User-Agent: 40tude_Dialog/2.0.15.84
Cancel-Lock: sha1:5u952Hzk71yBIJ/rtH96h7/94LE= sha256:K1tSaR4BtfzYitrIEmjpE7nJ6zNwYFRjxfl017WZVG4=
sha1:0Rk4De9sKANz28a4ocGwyYv20kc= sha256:VqhfCUqBGpUUjI3uc62AxMWU8xf7FPELFEa9CCkkq/E=
X-Bitcoin: 1LcqwCQBQmhcWfWsVEAeyLchkAY8ZfuMnS
X-Face: \*\`0(1j~VfYC>ebz[&O.]=,Nm\oRM{of,liRO#7Eqi4|!]!(Gs=Akgh{J)605>C9Air?pa d{sSZ09u+A7f<^paR"/NH_#<mE1S"hde\c6PZLUB[t/s5-+Iu5DSc?P0+4%,Hl