🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.misc
Article #202

Re: Keeping An OpenVPN Connection Alive

#202
From: Theo
Date: Mon, 30 Nov 2026 13:29
20 lines
1820 bytes
Nuno Silva <nunojsilva@invalid.invalid> wrote:
> On 2026-11-30, Lawrence D’Oliveiro wrote:
> >
> > One difference is that the client’s connection is configured to use
> > TCP (his choice, not mine), whereas I use UDP to get to the VPS.
> 
> Then there is no connection, is there?
> 
> How does this play with NAT, is the expectation that "keepalive" avoids
> changes also on connectionless traffic with the same origin/destination?

I'd not be surprised if the NAT box has different levels of timeout on TCP
and UDP sockets.  The use cases and table footprint for long running
connections on each are different, and maybe they set the timeouts different
as a result.

You could try adjusting down the 'timeout' value for UDP and see how low it
has to go before it prevents the drops.

Theo
Technical Details
Message-ID: <7Aw*u61WA@news.chiark.greenend.org.uk>
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!newsfeed.xs3.de!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
References: <11e7nh4$6089$1@dont-email.me> <11eils4$1r5g$1@dont-email.me> <11ejjce$a34o$4@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!newsfeed.xs3.de!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: Theo <theom+news@chiark.greenend.org.uk>
Newsgroups: comp.misc
Subject: Re: Keeping An OpenVPN Connection Alive
Date: 30 Nov 2026 13:29:55 +0000 (GMT)
Organization: University of Cambridge, England
Message-ID: <7Aw*u61WA@news.chiark.greenend.org.uk>
References: <11e7nh4$6089$1@dont-email.me> <11eils4$1r5g$1@dont-email.me> <11ejjce$a34o$4@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:93.93.131.173";
	logging-data="12087"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-44-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([93.93.131.173])