[asterisk-users] How to change IAX default port 4569 to some other port

William Piper william.piper at gmail.com
Fri Nov 24 21:07:21 MST 2006


Something like this should work in your iptables:

iptables -A PREROUTING -t nat -p tcp --dport 1234 -i eth0 -j DNAT
--to-destination 127.0.0.1:4569
iptables -I FORWARD 1 -d 127.0.0.1 -p tcp --dport 4569 -j ACCEPT

This would forward port 1234 to port 4569.

bp

On 11/23/06, Zeeshan Zakaria <zishanov at gmail.com> wrote:
>
> Hi all,
>
> 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?
>
> --
> Zeeshan A Zakaria
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com <http://easynews.com/>--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061124/98de8850/attachment.htm


More information about the asterisk-users mailing list