<?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[TLS Error: Unroutable control packet received from [AF_INET] with UDP and Mikrotik]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I have upgraded Pfsense from 2.6.0, to Pfsense 2.7.2<br />
The new OpenVPN version is 2.6.8<br />
I am having a bizarre issue - getting in the logs .</p>
<p dir="auto">TLS Error: Unroutable control packet received from [AF_INET]</p>
<p dir="auto">Cliens connect but stay as UNDEF.  The issues happens when the following are true:</p>
<ul>
<li>Proto is UDP</li>
<li>I have killed restarted the daemon(client does not know)</li>
<li>Clients are RouterOS 7.X(7.14,7.15,7.16), although with OpenWRT I saw it for a few seconds and it fixed itself.</li>
</ul>
<p dir="auto">Playing around with ping interval and ping timeout solves it to some extent, but I am afraid to test in large scale as it might break connection for some remote branches. I believe people here talk about the same thing:</p>
<p dir="auto">https://forum.mikrotik.com/viewtopic.php?t=197500</p>
<p dir="auto">With these ping settings (not tested on large scale):</p>
<p dir="auto">Inactive: 0<br />
Ping method: keepalive<br />
Interval: 5<br />
Timeout: 10<br />
Exit Notify : Reconnect to this server</p>
<p dir="auto">I manage to reconnect the branches in 2-3 minutes. With other settings I was going in endless reconnect loop.</p>
<p dir="auto">My whole feeling is that Mikrotik does not understand that old connection is gone – it stay “connected”, while connection is gone.</p>
<p dir="auto">Switching from UDP to TCP makes the whole issue go away – reconnect is done in a second.</p>
<p dir="auto">Please give me some hints:</p>
<p dir="auto">A)	Maybe issue was there before, just new Pfsense is more verbose ?<br />
B)	Endless loop came from upgrade. It will not happen again ?<br />
C)	I should simply switch TCP<br />
I should play with timeouts. They were problematic before, but in Pfsense 2.6 setting “Inactive: 0” worked well<br />
D)	Any other ideas and hints <img src="https://forum.netgate.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f60a.png?v=717669fab53" class="not-responsive emoji emoji-android emoji--blush" style="height:23px;width:auto;vertical-align:middle" title="😊" alt="😊" /><br />
Thank you <img src="https://forum.netgate.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f60a.png?v=717669fab53" class="not-responsive emoji emoji-android emoji--blush" style="height:23px;width:auto;vertical-align:middle" title="😊" alt="😊" /></p>
]]></description><link>https://forum.netgate.com/topic/188747/tls-error-unroutable-control-packet-received-from-af_inet-with-udp-and-mikrotik</link><generator>RSS for Node</generator><lastBuildDate>Fri, 16 Oct 2026 08:45:53 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/188747.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 16 Jun 2024 05:51:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TLS Error: Unroutable control packet received from [AF_INET] with UDP and Mikrotik on Fri, 22 Nov 2024 12:34:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterzy">@<bdi>peterzy</bdi></a> thank you for your reply.</p>
<p dir="auto">In my case all the Mikrotik client devices are in the rural area, so maybe I can make the current VPN to work using UDP (this is the current config) and once I get access to the device I can change the config to TCP. If the device could get connected for a couple of hours for me that's enough.<br />
In this regards, could you please share the details about changing the PING settings so maybe I can get them connected temporaly.</p>
<p dir="auto">Thank you!</p>
]]></description><link>https://forum.netgate.com/post/1196520</link><guid isPermaLink="true">https://forum.netgate.com/post/1196520</guid><dc:creator><![CDATA[nmenoni]]></dc:creator><pubDate>Fri, 22 Nov 2024 12:34:05 GMT</pubDate></item><item><title><![CDATA[Reply to TLS Error: Unroutable control packet received from [AF_INET] with UDP and Mikrotik on Fri, 22 Nov 2024 05:13:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nmenoni">@<bdi>nmenoni</bdi></a> The only truly working solution is switch to TCP. Nothing really worked well on UDP. I am running it on TCP for 5 months, it is very stable, but needs to be  TCP. :-)</p>
]]></description><link>https://forum.netgate.com/post/1196497</link><guid isPermaLink="true">https://forum.netgate.com/post/1196497</guid><dc:creator><![CDATA[peterzy]]></dc:creator><pubDate>Fri, 22 Nov 2024 05:13:38 GMT</pubDate></item><item><title><![CDATA[Reply to TLS Error: Unroutable control packet received from [AF_INET] with UDP and Mikrotik on Thu, 21 Nov 2024 23:38:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterzy">@<bdi>peterzy</bdi></a> I have same issue, did you find a solution?<br />
Where and how did you configure those ping settings?</p>
<p dir="auto">Thank you!</p>
]]></description><link>https://forum.netgate.com/post/1196475</link><guid isPermaLink="true">https://forum.netgate.com/post/1196475</guid><dc:creator><![CDATA[nmenoni]]></dc:creator><pubDate>Thu, 21 Nov 2024 23:38:08 GMT</pubDate></item></channel></rss>