<?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[Pfsense Ipsec not auto connecting when cron job added.]]></title><description><![CDATA[<p dir="auto">in my cron job<br />
<img src="/assets/uploads/files/1793813547175-47ca54ff-1f38-446c-9fca-f87e8f0df024-image.jpeg" alt="image.jpeg" class="img-markdown  img-fluid" width="1148" height="100" /></p>
<p dir="auto">1.)Following is not working in 2.8.0, and above version is it true. can u give explanation?<br />
2) Also, ipsec tunnel gets auto connected somehow even without cron job how that possible?</p>
<p dir="auto">Please give proper answer for this when version upgraded , how it will work and also php upgradation has impact on this?</p>
]]></description><link>https://forum.netgate.com/topic/201650/pfsense-ipsec-not-auto-connecting-when-cron-job-added.</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Nov 2026 21:21:19 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/201650.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 04 Nov 2026 17:39:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Pfsense Ipsec not auto connecting when cron job added. on Fri, 06 Nov 2026 16:16:45 GMT]]></title><description><![CDATA[<p dir="auto">But <em>why</em> have you added those?</p>
<p dir="auto">And, like <a class="plugin-mentions-user plugin-mentions-a" href="/user/luckman212" aria-label="Profile: luckman212">@<bdi>luckman212</bdi></a> said above, ipsec is deprecated. Use swanctl instead if you really need to manipulate the tunnels manually.</p>
]]></description><link>https://forum.netgate.com/post/1251374</link><guid isPermaLink="true">https://forum.netgate.com/post/1251374</guid><dc:creator><![CDATA[stephenw10]]></dc:creator><pubDate>Fri, 06 Nov 2026 16:16:45 GMT</pubDate></item><item><title><![CDATA[Reply to Pfsense Ipsec not auto connecting when cron job added. on Fri, 06 Nov 2026 08:59:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stephenw10" aria-label="Profile: stephenw10">@<bdi>stephenw10</bdi></a> <img src="/assets/uploads/files/1793949733857-84a2960a-e968-4033-a9ac-fef613f14fb8-image.jpeg" alt="{5BF6B3E8-5DE1-4070-8106-0E6F336BC3C1}.jpeg" class="img-markdown  img-fluid" width="1137" height="106" />  in cron job it is added</p>
<p dir="auto">2.8.0-RELEASE (amd64) -version</p>
<p dir="auto">Ipsec command is depreciated when<br />
Hope php upgrade has no impact on this?</p>
]]></description><link>https://forum.netgate.com/post/1251346</link><guid isPermaLink="true">https://forum.netgate.com/post/1251346</guid><dc:creator><![CDATA[abarna]]></dc:creator><pubDate>Fri, 06 Nov 2026 08:59:53 GMT</pubDate></item><item><title><![CDATA[Reply to Pfsense Ipsec not auto connecting when cron job added. on Thu, 05 Nov 2026 12:04:45 GMT]]></title><description><![CDATA[<p dir="auto">What version was it working in?</p>
<p dir="auto">What did it do when it was workng?</p>
<p dir="auto">What is it doing (or not doing) in 2.8.0?</p>
]]></description><link>https://forum.netgate.com/post/1251307</link><guid isPermaLink="true">https://forum.netgate.com/post/1251307</guid><dc:creator><![CDATA[stephenw10]]></dc:creator><pubDate>Thu, 05 Nov 2026 12:04:45 GMT</pubDate></item><item><title><![CDATA[Reply to Pfsense Ipsec not auto connecting when cron job added. on Thu, 05 Nov 2026 11:35:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/abarna" aria-label="Profile: abarna">@<bdi>abarna</bdi></a> it would be more helpful if you posted some logs and described exactly what was "not working". Are these tunnels not coming up at all? or coming up and then failing at some point? Post your System log, Gateway log and IPsec logs...</p>
]]></description><link>https://forum.netgate.com/post/1251306</link><guid isPermaLink="true">https://forum.netgate.com/post/1251306</guid><dc:creator><![CDATA[luckman212]]></dc:creator><pubDate>Thu, 05 Nov 2026 11:35:21 GMT</pubDate></item><item><title><![CDATA[Reply to Pfsense Ipsec not auto connecting when cron job added. on Thu, 05 Nov 2026 04:58:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stephenw10" aria-label="Profile: stephenw10">@<bdi>stephenw10</bdi></a> In my case not working 2.8 version</p>
]]></description><link>https://forum.netgate.com/post/1251300</link><guid isPermaLink="true">https://forum.netgate.com/post/1251300</guid><dc:creator><![CDATA[abarna]]></dc:creator><pubDate>Thu, 05 Nov 2026 04:58:10 GMT</pubDate></item><item><title><![CDATA[Reply to Pfsense Ipsec not auto connecting when cron job added. on Thu, 05 Nov 2026 01:01:18 GMT]]></title><description><![CDATA[<p dir="auto">IPSec has built in features to auto-connect anyway. Which both explains why you're seeing it connect and should render those cronjobs pointless.</p>
<p dir="auto">But, yes, why are doing that?</p>
]]></description><link>https://forum.netgate.com/post/1251296</link><guid isPermaLink="true">https://forum.netgate.com/post/1251296</guid><dc:creator><![CDATA[stephenw10]]></dc:creator><pubDate>Thu, 05 Nov 2026 01:01:18 GMT</pubDate></item><item><title><![CDATA[Reply to Pfsense Ipsec not auto connecting when cron job added. on Wed, 04 Nov 2026 18:08:58 GMT]]></title><description><![CDATA[<p dir="auto">what are you trying to do with those cronjobs? just trying to blindly start those 3 tunnels every 5 minutes seems silly. Combine it into 1 script and check each connection first, only try start if the tunnel is down. Also <code>ipsec</code> is not the command anymore, pfSense uses strongswan, so try <code>swanctl</code> eg</p>
<pre><code>/usr/local/sbin/swanctl --initiate --timeout 5 --child con1
</code></pre>
<p dir="auto">You could check out <a href="https://forum.netgate.com/topic/201442/ipsec-vpn-failover-between-two-pppoe-wans-takes-too-long/7">another post</a> I made a little while ago as a starting point…</p>
]]></description><link>https://forum.netgate.com/post/1251270</link><guid isPermaLink="true">https://forum.netgate.com/post/1251270</guid><dc:creator><![CDATA[luckman212]]></dc:creator><pubDate>Wed, 04 Nov 2026 18:08:58 GMT</pubDate></item></channel></rss>