<?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[[PATCH] siproxd patch for static WAN behind NAT]]></title><description><![CDATA[<p dir="auto">/usr/local/pkg/siproxd.inc -<br />
AFTER the block:</p>
<pre><code>	if($siproxd_conf['port'] != "") {
		fwrite($fout, "sip_listen_port = " . $siproxd_conf['port'] . "\n");
	} else {
		fwrite($fout, "sip_listen_port = 5060\n");
	}
</code></pre>
<p dir="auto">ADD:</p>
<pre><code>        if($siproxd_conf['host_outbound'] != "") {
		fwrite($fout, "host_outbound = " . $siproxd_conf['host_outbound'] . "\n");
	}
</code></pre>
<p dir="auto">/usr/local/pkg/siproxd.xml -<br />
AFTER the block:</p>
<pre><code>		 &lt;field&gt;&lt;fielddescr&gt;Listening port&lt;/fielddescr&gt;
			&lt;fieldname&gt;port&lt;/fieldname&gt;
			&lt;description&gt;Enter the port on which to listen for SIP traffic (default 5060). Do not change this unless you know what you're doing.&lt;/description&gt;
			&lt;type&gt;input&lt;/type&gt;&lt;/field&gt; 
</code></pre>
<p dir="auto">ADD:</p>
<pre><code>		 &lt;field&gt;&lt;fielddescr&gt;External WAN Static IP&lt;/fielddescr&gt;
			&lt;fieldname&gt;host_outbound&lt;/fieldname&gt;
			&lt;description&gt;Enter IP of the outbound interface.&lt;/description&gt;
			&lt;type&gt;input&lt;/type&gt;&lt;/field&gt; 
</code></pre>
<p dir="auto">Picture:<br />
<img src="http://i.imgur.com/11IVESE.png" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">Would suggest this patch are merged into the main siproxd package since this can be useful for "behind NAT" setups where you know the external IP. Then its a waste of Resources to use a STUN server.</p>
]]></description><link>https://forum.netgate.com/topic/68950/patch-siproxd-patch-for-static-wan-behind-nat</link><generator>RSS for Node</generator><lastBuildDate>Thu, 08 Oct 2026 06:44:39 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/68950.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 09 May 2014 08:46:45 GMT</pubDate><ttl>60</ttl></channel></rss>