[Asterisk-Users] FWD<->NAT<->*

Daryll Strauss daryll.strauss at gmail.com
Sun Jan 16 21:17:58 MST 2005


You probably want to use IAX to talk to FWD. It tunnels through NAT
without any special changes. See
http://www.fwd.pulver.com/advanced/iax

Making asterisk work through NAT is a pain and some of the Wiki stuff
is wrong/out dated. This works for me:

In sip.conf:
   localnet: 192.168.1.0/255.255.255.0
   externip: <MYIP>

Then look at rtp.conf and see what range of ports it uses. Mine is
10000-11000 (since I never have a lot of calls at once)

Then I configured my firewall to route 5060 (sip) and 10000-11000
(rtp) to my asterisk box. I'm sending both TCP and UDP, but I suspect
UDP is really the only protocol required.

- |Daryll



More information about the asterisk-users mailing list