Author |
Message |
chentron Brekeke Addict
Joined: 15 Oct 2013 Posts: 26
|
Posted: Tue Apr 01, 2014 4:01 pm Post subject: problem setting VPN |
|
|
1. Brekeke Product Name and Version: 3.3.4.4
2. Java version: 1.7.0.45
3. OS type and the version: debian 7.0
4. UA (phone), gateway or other hardware/software involved:
portech dmt gateway
5. Your problem:
The gateway is working ok without VPN, and is in different network than brekeke
I am trying to setup a vpn.
I get connect the gateway to brekeke. It appear on registered clients but I am not able to establish calls.
brekeke log show error 404 and 407, but I am sure it is not a problem of password.
In the past I have problem with NAT, and when i solved the info that appear in registered clients was something like:
dmt@ip_public (ip_public)
Now i see:
dmt@ip_VPN (ip_public)
I think it must to be:
dmt@ip_VPN (ip_VPN)
but i am not sure and I dont know how to get change.
VPN server is installed in same computer that brekeke, so the ip_public is same than ip public of brekeke.
Help is welcome.
Thanks |
|
Back to top |
|
hope Brekeke Master Guru
Joined: 15 Jan 2008 Posts: 862
|
|
Back to top |
|
james Brekeke Master Guru
Joined: 10 Dec 2007 Posts: 494
|
Posted: Wed Apr 02, 2014 10:31 am Post subject: |
|
|
Does the wiki which Hope suggested work? |
|
Back to top |
|
chentron Brekeke Addict
Joined: 15 Oct 2013 Posts: 26
|
Posted: Thu Apr 03, 2014 3:27 pm Post subject: |
|
|
thanks, but it doesnt work:
**************
$request = ^REGISTER
$addr = 192.168.30.26
®ister.contact.remote = true
$continue = true
*****************
REGISTER CLIENT shows:
sip:110@192.168.30.26:5060
(37.87.xx.xx:57488)
***************
i think it might be
sip:110@192.168.30.26:5060 (192.168.30.26)
other suggestion ?
thanks |
|
Back to top |
|
Laurie Brekeke Master Guru
Joined: 07 Jan 2008 Posts: 242
|
Posted: Thu Apr 03, 2014 4:07 pm Post subject: |
|
|
It seems REGISTER packet came through 37.87.xx.xx.
Is it UA's global IP address?
If so, please check the UA's configuration to use the VPN.
Is 192.168.30.26 the SIP Server's VPN address? |
|
Back to top |
|
chentron Brekeke Addict
Joined: 15 Oct 2013 Posts: 26
|
Posted: Thu Apr 03, 2014 4:26 pm Post subject: |
|
|
brekeke sipserver and VPN hosted in same server
VPN server is 192.168.30.1
Brekeke Interface 192.168.30.1, 37.187.xx.xx
gateway UA has 192.168.30.26
so gateway get to the brekeke trough VPN and must send and receive all traffic trough VPN. |
|
Back to top |
|
Laurie Brekeke Master Guru
Joined: 07 Jan 2008 Posts: 242
|
Posted: Thu Apr 03, 2014 4:38 pm Post subject: |
|
|
Can you see gateway's REGISTER in the [Dial Plan]->[History] page?
Can you send a ping to 192.168.30.1 from another 192.168.30.x?
Did you set "192.168.30.1" as the SIP Server's IP address in the gateway's configuration? |
|
Back to top |
|
chentron Brekeke Addict
Joined: 15 Oct 2013 Posts: 26
|
Posted: Fri Apr 04, 2014 3:10 am Post subject: |
|
|
Can you see gateway's REGISTER in the [Dial Plan]->[History] page?
yes i see this:
REGISTER sip:37.187.xx.xx register 37.187.xx.xx:57488 (UDP)
Can you send a ping to 192.168.30.1 from another 192.168.30.x?
yes, i can.
Did you set "192.168.30.1" as the SIP Server's IP address in the gateway's configuration?
yes , configuration >>>system >>>network>>> interface address>>> 192.168.30.1
also I see in:
Status Summary
Status Active
Interface 192.168.30.1, 37.187.xx.xx |
|
Back to top |
|
Laurie Brekeke Master Guru
Joined: 07 Jan 2008 Posts: 242
|
Posted: Fri Apr 04, 2014 4:03 pm Post subject: |
|
|
> yes i see this:
> REGISTER sip:37.187.xx.xx register 37.187.xx.xx:57488 (UDP)
It seems the gateway sent the REGISTER to 37.187.xx.xx instead of 192.168.30.1!
Check the gateway's setting. It must indicate 192.168.30.1 not 37.187.xx.xx.
Which VoIP gateway product are you using? |
|
Back to top |
|
chentron Brekeke Addict
Joined: 15 Oct 2013 Posts: 26
|
Posted: Mon May 12, 2014 3:04 pm Post subject: |
|
|
Dear Laurie
sorry for the delay in my answer.
Yes, you was right.
gateway was trying to register 37.187.xx.xx
now I correct to 192.168.30.1 and it is working OK.
thanks a lot for your help. |
|
Back to top |
|
Laurie Brekeke Master Guru
Joined: 07 Jan 2008 Posts: 242
|
Posted: Tue May 13, 2014 11:46 pm Post subject: |
|
|
Glad to know it |
|
Back to top |
|
|