<?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 TUNNEL give an error triying to use port UDP 500]]></title><description><![CDATA[<p dir="auto">Hi all, Im trying to establish an IPSEC tunnel between an 1.2.2 STable Pfsense and a WRV210 Cisco Router.</p>
<p dir="auto">The problem, in any config with any peer at the other side of the pfsense is that the pfsense appears to be unable to open the port, and give me an error message telling:</p>
<p dir="auto"><strong>racoon: [Unknown Gateway/Dynamic]: ERROR: failed to bind to address [IP Publica][500] (Address already in use).</strong></p>
<p dir="auto">Anyone knows if this is a version Bug? At the packet capture utility I did not see any packet going out to try connection, It appears to be that the racoon service is unable to use the wan interface.<br />
Any help would be greatly appreciated.</p>
<p dir="auto">Thanks all.</p>
<p dir="auto">Kaneda<br />
<img src="/public/_imported_attachments_/1/pfsense.jpg" alt="pfsense.jpg" class="img-markdown  img-fluid" /><br />
<img src="/public/_imported_attachments_/1/pfsense.jpg_thumb" alt="pfsense.jpg_thumb" class="img-markdown  img-fluid" /></p>
]]></description><link>https://forum.netgate.com/topic/18949/ipsec-tunnel-give-an-error-triying-to-use-port-udp-500</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 19:41:17 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/18949.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 30 Oct 2009 11:33:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to IPSEC TUNNEL give an error triying to use port UDP 500 on Tue, 15 Dec 2009 20:11:03 GMT]]></title><description><![CDATA[<p dir="auto">I did not find the solution for the error but, it was not a problem to stablish the tunnel.<br />
VPN IPSEC works even with this error on logs.</p>
<p dir="auto">Even I found a way to communicate a LINKSYS WRV210 with pfsense, here is the detailed conf:</p>
<p dir="auto"><a href="http://sites.google.com/site/sinindex/networking/integracionipsecentrepfsenseylinksyswrv210" target="_blank" rel="noopener noreferrer nofollow ugc">http://sites.google.com/site/sinindex/networking/integracionipsecentrepfsenseylinksyswrv210</a></p>
<p dir="auto">Thanks all for the help.</p>
]]></description><link>https://forum.netgate.com/post/216353</link><guid isPermaLink="true">https://forum.netgate.com/post/216353</guid><dc:creator><![CDATA[kaneda]]></dc:creator><pubDate>Tue, 15 Dec 2009 20:11:03 GMT</pubDate></item><item><title><![CDATA[Reply to IPSEC TUNNEL give an error triying to use port UDP 500 on Sun, 01 Nov 2009 16:18:25 GMT]]></title><description><![CDATA[<p dir="auto">No, It was running.</p>
<p dir="auto">If i check with racoon service stooped it just show this lines:</p>
<p dir="auto">ps uxawww | grep racoon</p>
<p dir="auto">root      446  0.0  0.1  3484  1388  ??  S    12:41AM  0:00.00 sh -c ps uxawww | grep racoon<br />
root      448  0.0  0.1  3336  1140  ??  S    12:41AM  0:00.00 grep racoon</p>
<p dir="auto">and no output for $ sockstat | grep :500</p>
]]></description><link>https://forum.netgate.com/post/212147</link><guid isPermaLink="true">https://forum.netgate.com/post/212147</guid><dc:creator><![CDATA[kaneda]]></dc:creator><pubDate>Sun, 01 Nov 2009 16:18:25 GMT</pubDate></item><item><title><![CDATA[Reply to IPSEC TUNNEL give an error triying to use port UDP 500 on Sun, 01 Nov 2009 15:24:35 GMT]]></title><description><![CDATA[<p dir="auto">When you checked for the running process, was the racoon service stopped under Status -&gt; Services?</p>
]]></description><link>https://forum.netgate.com/post/212141</link><guid isPermaLink="true">https://forum.netgate.com/post/212141</guid><dc:creator><![CDATA[jimp]]></dc:creator><pubDate>Sun, 01 Nov 2009 15:24:35 GMT</pubDate></item><item><title><![CDATA[Reply to IPSEC TUNNEL give an error triying to use port UDP 500 on Sun, 01 Nov 2009 09:41:59 GMT]]></title><description><![CDATA[<p dir="auto">If I disable IPSEC no proccess is running on port 500 and racoon stops running.<br />
When I enable it and save, this error is sown at ipsec logs:</p>
<p dir="auto">racoon: [Unknown Gateway/Dynamic]: ERROR: failed to bind to address [Public IP][500] (Address already in use).</p>
<p dir="auto">Is like it try to run it twice, but I have review the racoon.conf file and it appears to be ok.</p>
]]></description><link>https://forum.netgate.com/post/212132</link><guid isPermaLink="true">https://forum.netgate.com/post/212132</guid><dc:creator><![CDATA[kaneda]]></dc:creator><pubDate>Sun, 01 Nov 2009 09:41:59 GMT</pubDate></item><item><title><![CDATA[Reply to IPSEC TUNNEL give an error triying to use port UDP 500 on Sat, 31 Oct 2009 23:46:17 GMT]]></title><description><![CDATA[<p dir="auto">Thanks Jimp, I tried to find why the port is in use but I just find one process:<br />
ps uxawww | grep racoon</p>
<p dir="auto">root      446  0.0  0.1  3484  1388  ??  S    12:41AM  0:00.00 sh -c ps uxawww | grep racoon<br />
root      448  0.0  0.1  3336  1140  ??  S    12:41AM  0:00.00 grep racoon<br />
root    25521  0.0  0.4  5720  3952  ??  Ss    9:30PM  0:00.63 /usr/local/sbin/racoon -f /var/etc/racoon.conf</p>
<p dir="auto">Listening on all interfaces:</p>
<p dir="auto">$ sockstat | grep :500<br />
root    racoon    25521 13 udp4  [Public ip on WAN]:500  <em>:</em><br />
root    racoon    25521 14 udp4  127.0.0.1:500        <em>:</em><br />
root    racoon    25521 15 udp4  172.26.0.10:500      <em>:</em><br />
root    racoon    25521 16 udp4  10.0.0.1:500          <em>:</em></p>
<p dir="auto">I have in use 3 Interefaces :<br />
172.26.0.10 (LAN)<br />
10.0.0.1 (DMZ)<br />
[PUBLIC IP] (WAN)</p>
<p dir="auto">I dont know why is listening to all interfaces beacuse I made only one tunnel endind on WAN.<br />
Is normal? Any ideas?</p>
]]></description><link>https://forum.netgate.com/post/212120</link><guid isPermaLink="true">https://forum.netgate.com/post/212120</guid><dc:creator><![CDATA[kaneda]]></dc:creator><pubDate>Sat, 31 Oct 2009 23:46:17 GMT</pubDate></item><item><title><![CDATA[Reply to IPSEC TUNNEL give an error triying to use port UDP 500 on Sat, 31 Oct 2009 16:32:36 GMT]]></title><description><![CDATA[<p dir="auto">Ok. That message means that some other process is already bound to the port racoon is attempting to use. This could be a stuck process of some kind, or some other daemon. Try stopping the racoon service, and then get the output from a these two commands.</p>
<p dir="auto">You can use the console or Diagnostics &gt; Command:<br />
ps uxawww | grep racoon</p>
<p dir="auto">and<br />
sockstat | grep :500</p>
<p dir="auto">That should show you if there is another racoon process stuck out there, and if not, what process is actually using udp port 500.</p>
]]></description><link>https://forum.netgate.com/post/212090</link><guid isPermaLink="true">https://forum.netgate.com/post/212090</guid><dc:creator><![CDATA[jimp]]></dc:creator><pubDate>Sat, 31 Oct 2009 16:32:36 GMT</pubDate></item><item><title><![CDATA[Reply to IPSEC TUNNEL give an error triying to use port UDP 500 on Sat, 31 Oct 2009 16:05:58 GMT]]></title><description><![CDATA[<p dir="auto">I had try to restart the racoon service several times with no changes.<br />
I wont be able to try a full reboot until tuesday, beacuse I had the software installed into a ML110G5 and It have a bug with the FreeBSD version of the pfsense and hangs when it going to halt or reboot, then you have to poweroff and power on manually.</p>
<p dir="auto">Anyway I think is a little strange have to reboot the full system to load firewall changes.</p>
<p dir="auto">I will tell you on tuesday what happends.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.netgate.com/post/212086</link><guid isPermaLink="true">https://forum.netgate.com/post/212086</guid><dc:creator><![CDATA[kaneda]]></dc:creator><pubDate>Sat, 31 Oct 2009 16:05:58 GMT</pubDate></item><item><title><![CDATA[Reply to IPSEC TUNNEL give an error triying to use port UDP 500 on Fri, 30 Oct 2009 20:54:32 GMT]]></title><description><![CDATA[<p dir="auto">Looks like there may be an existing racoon process stuck out there somewhere.</p>
<p dir="auto">Have you tried rebooting the box? Or stopping and starting the racoon service manually?</p>
]]></description><link>https://forum.netgate.com/post/212039</link><guid isPermaLink="true">https://forum.netgate.com/post/212039</guid><dc:creator><![CDATA[jimp]]></dc:creator><pubDate>Fri, 30 Oct 2009 20:54:32 GMT</pubDate></item></channel></rss>