[Spce-user] NAT problem

Daniel Grotti dgrotti at sipwise.com
Tue Feb 11 07:40:00 EST 2014


Hi,
Ok, also to be sure of that you can check a sip capture and see which IP
is used in SDP and SIP Contact header from NGCP to outside.
You should see there the public IP, not the internal IP.

Daniel




On 02/11/2014 01:37 PM, gerry kernan wrote:
> Hi Daniel,
> 
> I had that setting configured already, my network file is below. It might be an issue on our firewall. So I'm getting a new Public IP and going to connect the server with a Public IP.
> 
> 
> root at sipwise:~# more /etc/ngcp-config/network.yml
> ---
> hosts:
>   self:
>     eth0:
>       advertised_ip:
>         - 82.X.X.X
>       ip: 192.168.X.X
>       netmask: 255.255.255.0
>       type:
>         - web_ext
>         - sip_ext
>         - rtp_ext
>         - ssh_ext
>     interfaces:
>       - lo
>       - eth0
>     lo:
>       ip: 127.0.0.1
>       netmask: 255.255.255.0
>       shared_ip: []
>       shared_v6ip: []
>       type:
>         - sip_int
>         - ha_int
>         - web_int
>       v6ip: '::1'
>     role:
>       - proxy
>       - lb
>       - mgmt
> 
> -----Original Message-----
> From: spce-user-bounces at lists.sipwise.com [mailto:spce-user-bounces at lists.sipwise.com] On Behalf Of Daniel Grotti
> Sent: 11 February 2014 12:19
> To: spce-user at lists.sipwise.com
> Subject: Re: [Spce-user] NAT problem
> 
> Hi,
> did you set the firewall public ip as advertised_ip in network.yml in order to have mediaproxy-ng/kamailio using the right ip ?
> 
> ngcp-network --set-interface=eth0 --advertised-ip=w.x.y.z; ngcpcfg apply
> 
> This will restart mediaproxy-ng on "advertised IP".
> 
> Daniel
> 
> 
> 
> 
> On 02/11/2014 12:31 PM, gerry kernan wrote:
>> Hi
>>
>>  
>>
>> Hoping someone can point me in the right direction. I have installed 
>> SipWiseCE , during testing on local network everything works perfect.
>> But when I have tried to get it running with a 1:1 nat I'm having 
>> problems with no audio in either direction and when I answer a call 
>> the callee end is still in ringing state. I have tried adding the wan 
>> address as advertised address. Do I need to add the WAN address to any 
>> config files?
>>
>>  
>>
>>  
>>
>> Best Regards,
>>
>>  
>>
>> Gerry Kernan
>>
>> InfinityIT
>>
>>  
>>
>> Suite 17 The Mall | Beacon Court | Sandyford | Dublin 18
>>
>> p: +35312930090 | f: +35312930137 | m: +353861709790
>>
>> logo <http://www.infinityit.ie/>
>>
>>  
>>
>>  
>>
>>  
>>
>>  
>>
>>
>>
>> _______________________________________________
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com
>> http://lists.sipwise.com/listinfo/spce-user
>>
> 
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user
> 




More information about the Spce-user mailing list