<div>Something like this should work in your iptables:</div>
<div>&nbsp;</div>
<div>iptables -A PREROUTING -t nat -p tcp --dport&nbsp;1234 -i eth0 -j DNAT --to-destination <a href="http://127.0.0.1:4569">127.0.0.1:4569</a><br>iptables -I FORWARD 1 -d <a href="http://127.0.0.1">127.0.0.1</a> -p tcp --dport&nbsp;4569 -j ACCEPT
<br>&nbsp;</div>
<div>This would forward port 1234 to port 4569.<br>&nbsp;</div>
<div>bp<br>&nbsp;</div>
<div><span class="gmail_quote">On 11/23/06, <b class="gmail_sendername">Zeeshan Zakaria</b> &lt;<a href="mailto:zishanov@gmail.com">zishanov@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi all,<br><br>All of a sudden all my IAX DIDs have gone down. I couldn't find any reason other than that the ISP is blocking port 4569. DIDs register fine from my home server, but not from office server, which is not behind any NAT. SIP registers fine. I am trying to change IAX port but it apparantly IAX works only on 4569. Changing it in 
iax.conf doesn't do anything. Changing it is registration string also doesn't help. How can I make IAX work on some other port?<br clear="all"><span class="sg"><br>-- <br>Zeeshan A Zakaria </span><br>_______________________________________________
<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://easynews.com/" target="_blank">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:
<br>&nbsp; <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br></blockquote>
</div><br>