[asterisk-users] Iptables rule help

Vicky vicky.r at gmail.com
Fri Dec 15 13:11:34 MST 2006


I am sure rtp ports arent blocked ..

On 16/12/06, Derek Whitten <derek at kfuq.net> wrote:
>
> Mail list wrote:
> > Hello  my isp has blocked outgoing and incoming connection for port 5060
> > . I
> > have ssh access to server so i want to   send all traffic from port 5091
> to
> > port 5060 of asterisk .so i tried
> >
> > iptables -t nat -A PREROUTING -i eth0 -p udp --dport 5091 -j DNAT --to
> > 127.0.0.1:5060
> >
> > Now my softphone is able to register with asterisk but it isnt able to
> make
> > any calls .
> >
> > bindport = 5091 in my sip.conf under extensions is not working ..
> asterisk
> > doesnt listen to port 5091 .. but if i put in general section of
> > sip.confthen it works but then asterisk wont listen on 5060 . How can
> > i use iptables
> > in this situation ?
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> RTP ports blocked?
>
> (rtp.conf)
>
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by 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/20061215/9ec83266/attachment.htm


More information about the asterisk-users mailing list