Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
chan_sip NAT settings
nat=rtp_force,comedia
directmedia=no
localnet=192.168.0.0/255.255.0.0 ; RFC 1918 addresses
localnet=10.0.0.0/255.0.0.0 ; Also RFC1918
localnet=172.16.0.0/12 ; Another RFC1918 with CIDR notation
localnet=169.254.0.0/255.255.0.0 ; Zero conf local network
externaddr = (PUBLIC IP)
media_address = X.X.X.X (PUBLIC IP)
qualify=yes
rtpkeepalive=5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.