login | register
Tue 02 of Dec, 2008 [03:51 UTC]

voip-info.org

Discuss [0] History

Asterisk SIP localnet

Created by: chandave,Last modification on Tue 07 of Jun, 2005 [11:02 UTC]

Asterisk SIP option localnet


Synopsis

 localnet = net.ip.addr/subnet.mask

Description

Hosts falling within the network ranges specified by the localnet option will be excluded from any NATing efforts by Asterisk. As a result, the source IP address within the SIP requests/responses will use the internal IP address of the network interface associated with bindaddr .

Examples

 [general]
 localnet=192.168.2.0/255.255.255.0
 localnet=10.5.1.0/255.255.255.192

Notes

Multiple localnet statements can specified. The system will use them all.

This option is only recognized under the [general] section of the sip.conf.

See Also



Comments