If you are using a Linux gateway to connect your local LAN to the Internet, then redirect as follows:

 
/sbin/iptables -t nat -A PREROUTING -p udp -i ethx --destination-port 5060 \
     -j DNAT --to-destination xxx.xxx.xxx.xxx

 

/sbin/iptables -t nat -A PREROUTING -p udp -i ethx --destination-port \

10000:20000 -j DNAT --to-destination xxx.xxx.xxx.xxx

 

Where ethx is Internet facing interface of the Linux gateway and xxx.xxx.xxx.xxx is the IP address of Asterisk.

 

Wafula

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Siqhamo Sifo
Sent: 11 August 2006 12:48
To: [email protected]
Subject: [asterisk-users] Port Forwarding SIP rtp

 

I need help with SIP,RTP port forwarding , I can connect using SIP and

make calls but there is no audio even though my kernel has sip support and

I suspect that it has to do with iptables.

 

 

 

Siqhamo Sifo

NewLunar Technology Solutions

5th Floor

SmartXchange

5 Walnut Road

Durban

http://www.newlunar.co.za

 

 

 

_______________________________________________

--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

_______________________________________________
--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

Reply via email to