Asterisk under NAT

From Kolmisoft Wiki

Jump to: navigation, search

If your MOR box is under NAT, you should edit /etc/asterisk/sip.conf file:

externip = <YOUR REAL IP> localnet = <LOCANET/MASK>


externip = localnet =

Forward SIP ports (UDP 5060, 10000-20000) on your firewall to this Asterisk machine.

Restart Asterisk.

[edit] Attention!

Do not put these settings in the wrong place! They should be in [general] section.

Also - DO NOT CREATE THESE SETTINGS - they are already in this file.

Personal tools


Try M2