How do I configure asterisk to support NAT?

In order to configure your asterisk server which is behind a nat router you will need to edit your sip_nat.conf file.

The following lines should be set:

externip = X.X.X.X (Substitute your public IP address)

localnet = X.X.X.X / 255.255.255.0 (Substitute your LAN Subnet Address - NOT the IP of your Asterisk device)

nat = Yes

Once these setting have been made you may need to configure an outbound proxy.  Our proxy is nat.lushsoft.com:5082

Article ID: 8, Created On: 1/10/2009, Modified: 6/9/2009

Comments (0)