[asterisk-users] sip forward behind a nat

nik600 nik600 at gmail.com
Sun Nov 12 02:05:30 MST 2006


On 11/12/06, Vicky <vicky.r at gmail.com> wrote:
> Yep make the server with dynamic ip register to server with static ip ( sip
> or iax both will do but in sip keep nat=yes while making extension )
>
the problem is that the server with dynamic ip can't register on the
other server!

This is the situation:


Server with SIP application (public_address)
|
|
- - - Internet
|
|
Firewall (NAT)
|
|
Server Asterisk (private ip:192.168.100.249/public ip:public_address_2)
|
Analogic Board
|
Telecom

I want to make a call from Server Asterisk to the server with SIP Application.
The SIP Application can't register to Server Asterisk (because the
application can't do it, i know, it isn't a good thing....but this is
the application)
When The SIP Application receives a SIP call it responds (because a
dummy SIP user is autoregistered on hisself)

So i only have to make a call to SIP/user at public_address

I've also tried to setup an asterisk server on my laptop, and make a call to
SIP/user at public_address from the public_address network. It works!

I only have to setup the Asterisk server in production to make a SIP
call throw the NAT but without any SIP user registered on it.

Can i do that?

Many thanks to all


More information about the asterisk-users mailing list