[Asterisk-Users] NAT

Samy Antoun samyantoun at yahoo.com
Thu Sep 29 11:40:47 MST 2005


Anders,

There are 2 ways to acomplish this:
1. Keep your Asterisk box behinde your router. In this
case you need to do this:
 - Port Forward to Asterisk Box
   UDP 5060
   UDP 10000-20000

 - sip.conf (Change as needed)
   externip=xxx.xxx.xxx.xxx
   localnet=192.168.1.0/255.255.255.0

 - Extensions
   nat=yes
   qualify=yes

2. Configure your Asterisk box as a router. In this
case you need:
 - Asterisk box must have 2 NIC's
 - A network switch
 - Setup instructions can be found at:
http://samyantoun.50webs.com/asterisk/firewall/firewall.htm

Hope this helps.




		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com



More information about the asterisk-users mailing list