Ian. I have a nat router in front of asterisk and Im forward 5060 and
10000-20000 to the asterisk box.

On the other isde there is also a nat and they have budgetones..

 

|-----Original Message-----
|From: [EMAIL PROTECTED] 
|[mailto:[EMAIL PROTECTED] On Behalf Of 
|Ian Pattison
|Sent: Lunes, 02 de Mayo de 2005 03:03 p.m.
|To: [email protected]
|Subject: Re: [Asterisk-Users] Debuging SIP
|
|Are you using IPTables? Here's my IPTables config for SIP and 
|RTP... you need to open UDP ports 5060 and 10000-20000
|
|$IPTABLES -A FORWARD -i $EXTIF -o $INTIF -p udp -m udp --sport 
|5060 --dport 5060 -j ACCEPT $IPTABLES -A FORWARD -i $EXTIF -o 
|$INTIF -p udp -m udp --sport 10000:20000 --dport 10000:20000 
|-j ACCEPT $IPTABLES -A FORWARD -i $INTIF -o $EXTIF -p udp -m 
|udp --sport 5060 --dport 5060 -j ACCEPT $IPTABLES -A FORWARD 
|-i $INTIF -o $EXTIF -p udp -m udp --sport 10000:20000 --dport 
|10000:20000 -j ACCEPT $IPTABLES -t nat -A PREROUTING -i $EXTIF 
|-p udp -m udp -s EXTERNAL_SIP_SOURCE --dport 5060 -j DNAT 
|--to-destination ASTERISK_SERVER $IPTABLES -t nat -A 
|PREROUTING -i $EXTIF -p udp -m udp -s EXTERNAL_SIP_SOURCE 
|--dport 10000:20000 -j DNAT --to-destination ASTERISK_SERVER
|
|Hope this helps,
|
|Ian
|
|Ian Pattison, Senior Analyst
|Technology Associates Inc.
|Tel: 905-459-2100 ext. 204
|Mobile: 416-568-6548
|E-mail: [EMAIL PROTECTED]
|WWW: http://www.technologyassociates.ca
|
|>>> [EMAIL PROTECTED] 02/05/2005 14:44 >>>
|Guys.
|
|Im having NAT problems. Any good tips on how to debug remote 
|SIPS, how to see which ports are been sent and received, etc?
|
|
|_______________________________________________
|Asterisk-Users mailing list
|[email protected]
|http://lists.digium.com/mailman/listinfo/asterisk-users
|To UNSUBSCRIBE or update options visit:
|   http://lists.digium.com/mailman/listinfo/asterisk-users
|
|

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to