<?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[IPsec VTI 2.6.0 requires reboot]]></title><description><![CDATA[<p dir="auto">For some reason not sure what or why, when I adjust a tunnel configuration the tunnel won't come online no matter what, until I reboot the system.</p>
]]></description><link>https://forum.netgate.com/topic/169959/ipsec-vti-2-6-0-requires-reboot</link><generator>RSS for Node</generator><lastBuildDate>Thu, 19 Nov 2026 05:18:25 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/169959.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 16 Feb 2022 13:56:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to IPsec VTI 2.6.0 requires reboot on Sat, 30 Apr 2022 12:03:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ofloo" aria-label="Profile: ofloo">@<bdi>ofloo</bdi></a> Thanks. couple of small points:</p>
<ul>
<li>your shebang is for bash -- did you install bash on your firewall? (pfSense does not come with bash)</li>
<li>you could use <code>pkill -F /var/run/charon.pid</code> which is more concise and doesn't need the cat</li>
<li>wouldn't you need to <code>tail -n10</code> etc to be sure you weren't just reading the same "trap not found" message over and over in a loop?</li>
<li>you don't need the extra if-test and pipe to wc, you can test the result code from grep directly</li>
</ul>
<p dir="auto">maybe something like this would work? (I have not tested this)</p>
<pre><code class="language-shell">#!/bin/sh

if tail -n10 /var/log/ipsec.log | /usr/bin/grep -q "trap not found, unable to acquire reqid"; then  
 pkill -9 -F cat /var/run/charon.pid
 echo "Executed Charon kill script, IPsec seems locked up"
fi

exit 0
</code></pre>
]]></description><link>https://forum.netgate.com/post/1040253</link><guid isPermaLink="true">https://forum.netgate.com/post/1040253</guid><dc:creator><![CDATA[luckman212]]></dc:creator><pubDate>Sat, 30 Apr 2022 12:03:25 GMT</pubDate></item><item><title><![CDATA[Reply to IPsec VTI 2.6.0 requires reboot on Fri, 29 Apr 2022 18:01:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/luckman212" aria-label="Profile: luckman212">@<bdi>luckman212</bdi></a></p>
<pre><code>#!/usr/bin/env bash

if [ $(tail /var/log/ipsec.log | /usr/bin/grep "trap not found, unable to acquire reqid" | /usr/bin/wc -l) -gt "0" ]; then  
 kill -9 $(cat /var/run/charon.pid) 
 echo "Executed Charon kill script, IPsec seems locked up"
fi

exit 0

</code></pre>
]]></description><link>https://forum.netgate.com/post/1040171</link><guid isPermaLink="true">https://forum.netgate.com/post/1040171</guid><dc:creator><![CDATA[Ofloo]]></dc:creator><pubDate>Fri, 29 Apr 2022 18:01:19 GMT</pubDate></item><item><title><![CDATA[Reply to IPsec VTI 2.6.0 requires reboot on Fri, 29 Apr 2022 12:42:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ofloo" aria-label="Profile: ofloo">@<bdi>ofloo</bdi></a> What sort of "things" are you checking for in your script?</p>
]]></description><link>https://forum.netgate.com/post/1040124</link><guid isPermaLink="true">https://forum.netgate.com/post/1040124</guid><dc:creator><![CDATA[luckman212]]></dc:creator><pubDate>Fri, 29 Apr 2022 12:42:34 GMT</pubDate></item><item><title><![CDATA[Reply to IPsec VTI 2.6.0 requires reboot on Fri, 29 Apr 2022 06:08:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/luckman212" aria-label="Profile: luckman212">@<bdi>luckman212</bdi></a> I've made a cron script which checks the logs for specific things then kill the ipsec tunnel added watchdog to auto restart it.</p>
<p dir="auto">Not sure if that's still nessairy however that's how I run it now.</p>
<p dir="auto">But I now can edit tunnels. Without having to reboot.</p>
]]></description><link>https://forum.netgate.com/post/1040078</link><guid isPermaLink="true">https://forum.netgate.com/post/1040078</guid><dc:creator><![CDATA[Ofloo]]></dc:creator><pubDate>Fri, 29 Apr 2022 06:08:34 GMT</pubDate></item><item><title><![CDATA[Reply to IPsec VTI 2.6.0 requires reboot on Tue, 26 Apr 2022 19:08:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/timboau-0" aria-label="Profile: timboau-0">@<bdi>timboau-0</bdi></a> or <a class="plugin-mentions-user plugin-mentions-a" href="/user/ofloo" aria-label="Profile: Ofloo">@<bdi>Ofloo</bdi></a> are you still having this problem? I recently started converting my policy based IPSEC tunnels to VTIs, and am encountering various strange issues. I'm running 22.05 snaps now though.</p>
]]></description><link>https://forum.netgate.com/post/1039632</link><guid isPermaLink="true">https://forum.netgate.com/post/1039632</guid><dc:creator><![CDATA[luckman212]]></dc:creator><pubDate>Tue, 26 Apr 2022 19:08:09 GMT</pubDate></item><item><title><![CDATA[Reply to IPsec VTI 2.6.0 requires reboot on Wed, 16 Feb 2022 21:46:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jimp" aria-label="Profile: jimp">@<bdi>jimp</bdi></a> I have stopped and started the service without any tunnels coming back up. (I have not restarted on 2.6 to try and bring them back)</p>
]]></description><link>https://forum.netgate.com/post/1026314</link><guid isPermaLink="true">https://forum.netgate.com/post/1026314</guid><dc:creator><![CDATA[timboau 0]]></dc:creator><pubDate>Wed, 16 Feb 2022 21:46:16 GMT</pubDate></item><item><title><![CDATA[Reply to IPsec VTI 2.6.0 requires reboot on Wed, 16 Feb 2022 15:42:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ofloo" aria-label="Profile: ofloo">@<bdi>ofloo</bdi></a> said in <a href="/post/1026133">IPsec VTI 2.6.0 requires reboot</a>:</p>
<blockquote>
<p dir="auto">nothing fancy i just adjusted the network range noticed that the prefix was wrong and so re-adjusted that saved.</p>
</blockquote>
<p dir="auto">In what setting exactly? And is it IPv4 or IPv6?</p>
<blockquote>
<p dir="auto">I did restart from the web interface and from ssh ipsec restart.</p>
<p dir="auto">Neither worked. Did not matter what I did the tunnel only reestablished after rebooting.</p>
</blockquote>
<p dir="auto">Both of those only refresh the configuration, they don't actually stop and start (and reconfigure) the IPsec daemon. If you try it again, do a stop action, wait for it to stop, then start it again.</p>
]]></description><link>https://forum.netgate.com/post/1026151</link><guid isPermaLink="true">https://forum.netgate.com/post/1026151</guid><dc:creator><![CDATA[jimp]]></dc:creator><pubDate>Wed, 16 Feb 2022 15:42:40 GMT</pubDate></item><item><title><![CDATA[Reply to IPsec VTI 2.6.0 requires reboot on Wed, 16 Feb 2022 14:58:14 GMT]]></title><description><![CDATA[<p dir="auto">nothing fancy i just adjusted the network range noticed that the prefix was wrong and so re-adjusted that saved.</p>
<p dir="auto">I did restart from the web interface and from ssh ipsec restart.</p>
<p dir="auto">Neither worked. Did not matter what I did the tunnel only reestablished after rebooting.</p>
]]></description><link>https://forum.netgate.com/post/1026133</link><guid isPermaLink="true">https://forum.netgate.com/post/1026133</guid><dc:creator><![CDATA[Ofloo]]></dc:creator><pubDate>Wed, 16 Feb 2022 14:58:14 GMT</pubDate></item><item><title><![CDATA[Reply to IPsec VTI 2.6.0 requires reboot on Wed, 16 Feb 2022 14:17:43 GMT]]></title><description><![CDATA[<p dir="auto">What kind of adjustment isn't working?</p>
<p dir="auto">A reboot is unlikely to be required if settings don't appear to activate in IPsec, you can try stopping the IPsec daemon and then starting it again. Do not use 'restart' as it only refreshes the config.</p>
]]></description><link>https://forum.netgate.com/post/1026118</link><guid isPermaLink="true">https://forum.netgate.com/post/1026118</guid><dc:creator><![CDATA[jimp]]></dc:creator><pubDate>Wed, 16 Feb 2022 14:17:43 GMT</pubDate></item></channel></rss>