<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[OpenVPN tunnel restarting - set keepalive?]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I am having an issue on a site to site OpenVPN connection between 2 PFSense firewalls.  It appears the OpenVPN tunnel is timing out due to inactivity and restarting.</p>
<p dir="auto">Dec 1 04:13:50 remote-office openvpn[15054]: Initialization Sequence Completed<br />
Dec 1 04:13:48 remote-office openvpn[15054]: Peer Connection Initiated with [AF_INET]RE.MO.TE.IP:1194<br />
Dec 1 04:13:18 remote-office openvpn[15054]: UDPv4 link remote: [AF_INET]RE.MO.TE.IP:1194<br />
Dec 1 04:13:18 remote-office openvpn[15054]: UDPv4 link local (bound): [AF_INET]LO.CA.L.IP<br />
Dec 1 04:13:18 remote-office openvpn[15054]: Preserving previous TUN/TAP instance: ovpnc2<br />
Dec 1 04:13:18 remote-office openvpn[15054]: Re-using pre-shared static key<br />
Dec 1 04:13:18 remote-office openvpn[15054]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts<br />
Dec 1 04:13:16 remote-office openvpn[15054]: SIGUSR1[soft,ping-restart] received, process restarting<br />
Dec 1 04:13:16 remote-office openvpn[15054]: Inactivity timeout (–ping-restart), restarting</p>
<p dir="auto">I use OSPF over the VPN so that (I would hope) would be enough traffic to keep the tunnel up.</p>
<p dir="auto">I've seen some things in the forums and other OpenVPN threads about setting a ping keepalive of some kind.  One post also noted that the default in PFSense is 5 pings/60 seconds.  Is this a fact?  Is there a way to change this?  And last question - I am overlooking something?  Is there a way to just keep the tunnel up indefinitely?</p>
]]></description><link>https://forum.netgate.com/topic/92428/openvpn-tunnel-restarting-set-keepalive</link><generator>RSS for Node</generator><lastBuildDate>Mon, 15 Jun 2026 14:35:40 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/92428.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 01 Dec 2015 16:07:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to OpenVPN tunnel restarting - set keepalive? on Fri, 04 Dec 2015 02:53:27 GMT]]></title><description><![CDATA[<p dir="auto">OpenVPN on pfSense will send more than enough keep alives to keep that up, and OSPF's hello packets would be more than enough as well. For what you show to happen it really would have to lose connectivity for 60+ continuous seconds between the sites.</p>
]]></description><link>https://forum.netgate.com/post/588551</link><guid isPermaLink="true">https://forum.netgate.com/post/588551</guid><dc:creator><![CDATA[jimp]]></dc:creator><pubDate>Fri, 04 Dec 2015 02:53:27 GMT</pubDate></item></channel></rss>