Difference between revisions of "Asterisk under NAT"

From Kolmisoft Wiki
Jump to navigationJump to search
(New page: If your Asterisk box is under NAT, you should edit ''/etc/asterisk/sip.conf'' file: externip = <YOUR REAL IP> localnet = <LOCAL NET IP/MASK> Example: externip = 23.45.67.89 localnet...)
 
Line 8: Line 8:
  externip = 23.45.67.89
  externip = 23.45.67.89
  localnet = 10.10.1.0/255.255.255.0
  localnet = 10.10.1.0/255.255.255.0
Restart Asterisk.

Revision as of 13:58, 27 December 2007

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

externip = <YOUR REAL IP>
localnet = <LOCAL NET IP/MASK>

Example:

externip = 23.45.67.89
localnet = 10.10.1.0/255.255.255.0

Restart Asterisk.