<?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 client doesn&#x27;t bind to specified CARP interface or specific port]]></title><description><![CDATA[<p dir="auto">I thought this was working from a mid-april snapshot(but I can't be sure), so far I've tested on 4/30 and 5/2 snapshots.</p>
<p dir="auto">The openvpn client seems to always use the wan interface and a random outgoing port no matter what interface or port you specify in settings.  Has anyone else noticed this behavior?</p>
<p dir="auto">I see this in logs:</p>
<pre><code>UDP link local (bound): [AF_INET][undef]:43315
</code></pre>
<p dir="auto">It is missing my specified interface, is showing my specified outgoing port, but still doesn't use it.</p>
]]></description><link>https://forum.netgate.com/topic/115112/openvpn-client-doesn-t-bind-to-specified-carp-interface-or-specific-port</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 22:23:16 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/115112.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 02 May 2017 20:47:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to OpenVPN client doesn&#x27;t bind to specified CARP interface or specific port on Fri, 05 May 2017 18:40:28 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for testing that!</p>
<p dir="auto">I finally found the problem, after redoing the vpn client it showed it binding to the carp ip and port, however on the vpn server side it still showed the WAN ip and random port.</p>
<p dir="auto">Turns out my manual outbound NAT was doing that…I had mistakenly used "This Firewall" instead of 127.0.0.0/8 on my outbound NAT for the firewall.</p>
]]></description><link>https://forum.netgate.com/post/697590</link><guid isPermaLink="true">https://forum.netgate.com/post/697590</guid><dc:creator><![CDATA[jmcentire]]></dc:creator><pubDate>Fri, 05 May 2017 18:40:28 GMT</pubDate></item><item><title><![CDATA[Reply to OpenVPN client doesn&#x27;t bind to specified CARP interface or specific port on Fri, 05 May 2017 16:02:53 GMT]]></title><description><![CDATA[<p dir="auto">I just made a CARP VIP on a test VM and then created an OpenVPN Client on it:</p>
<pre><code>
May 5 15:58:08 	openvpn 	74211 	/usr/local/sbin/ovpn-linkup ovpnc1 1500 1560 init
May 5 15:58:09 	openvpn 	74211 	TCP/UDP: Preserving recently used remote address [AF_INET]172.22.33.44:1194
May 5 15:58:09 	openvpn 	74211 	UDPv4 link local (bound): [AF_INET]172.17.18.19:4242
May 5 15:58:09 	openvpn 	74211 	UDPv4 link remote: [AF_INET]172.22.33.44:1194

</code></pre>
<p dir="auto">The CARP IP I made up was 172.17.18.19 and local port selected was 4242 - so it got it right from what I entered in the webGUI.</p>
<p dir="auto">So I guess there is something else different/special in your config that impacts this.</p>
]]></description><link>https://forum.netgate.com/post/697547</link><guid isPermaLink="true">https://forum.netgate.com/post/697547</guid><dc:creator><![CDATA[phil.davis]]></dc:creator><pubDate>Fri, 05 May 2017 16:02:53 GMT</pubDate></item><item><title><![CDATA[Reply to OpenVPN client doesn&#x27;t bind to specified CARP interface or specific port on Fri, 05 May 2017 15:29:40 GMT]]></title><description><![CDATA[<p dir="auto">Is anyone able to test this, at least get it to bind to a specific local port?</p>
]]></description><link>https://forum.netgate.com/post/697532</link><guid isPermaLink="true">https://forum.netgate.com/post/697532</guid><dc:creator><![CDATA[jmcentire]]></dc:creator><pubDate>Fri, 05 May 2017 15:29:40 GMT</pubDate></item><item><title><![CDATA[Reply to OpenVPN client doesn&#x27;t bind to specified CARP interface or specific port on Wed, 03 May 2017 21:14:55 GMT]]></title><description><![CDATA[<p dir="auto">I had been messing with that setting while trying to figure it out, with "UDP on IPv4 only" selected I now get this in the log:</p>
<pre><code>UDPv4 link local (bound): [AF_INET]&lt;wanip&gt;:43315&lt;/wanip&gt;
</code></pre>
<p dir="auto">Note it shows the WAN IP and not the CARP IP I have selected in the interface.  Also the other side of the VPN still shows it trying to connect from a random port(not the port shown in the log).</p>
]]></description><link>https://forum.netgate.com/post/697067</link><guid isPermaLink="true">https://forum.netgate.com/post/697067</guid><dc:creator><![CDATA[jmcentire]]></dc:creator><pubDate>Wed, 03 May 2017 21:14:55 GMT</pubDate></item><item><title><![CDATA[Reply to OpenVPN client doesn&#x27;t bind to specified CARP interface or specific port on Wed, 03 May 2017 01:30:37 GMT]]></title><description><![CDATA[<p dir="auto">In the OpenVPN Client Protocol dropdown, you probably have selected "UDP IPv4 and Ipv6 on all interfaces (multihome)".<br />
That ignores the selected interface.<br />
Select "UDP on IPv4 only"</p>
<p dir="auto">I guess the Interface selection should be disabled for the "UDP IPv4 and Ipv6 on all interfaces (multihome)" case.</p>
]]></description><link>https://forum.netgate.com/post/696899</link><guid isPermaLink="true">https://forum.netgate.com/post/696899</guid><dc:creator><![CDATA[phil.davis]]></dc:creator><pubDate>Wed, 03 May 2017 01:30:37 GMT</pubDate></item></channel></rss>