Re: Asterisk conf for Sipgate.co.uk
In article <f2fiei$huk$1$830fa7a5@news.demon.co.uk>,
Steve <user@mail.com> wrote:
[color=blue]
>Hi Gordon,
>
>That's works now..
>The probelm was modem router...
>I placed the server on DMZ area, and everything is OK..
>
>This is my main problem. I try yto be able to be connected from outsite
>the house, and I can't connect...
>
>Can you connect to your server from outside ?
>If so, what Modem router do you have ??[/color]
At home/office I have a Draytek 2600 and a Linux based router. I have a
small subnet routed to me from Zen, so I have a "real" DMZ which is where
my office asterisk box is, so remote connections are only a problem for
the remote NAT firewall.
However I have setup boxes for my clients (I sell asterisk based PBX
systems) which are on the inside of their router, and then I port-forward
5060 and 10000 through 20000 to the IP address of the server on the inside
then use the nat=yes and externip= and localnet= statements in sip.conf.
(Also port forward 4569 to the internal asterisk box as that's IAX which
I use to peer boxes together)
When connecting from the outside you may need a STUN sever which will
let the external device (phone/soft phone) work out how to navigate it's
NAT firewall.
Gordon
|