[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SIP-T32G OpenVPN Missing?
Author Message
raggamofin Offline
Junior Member
**

Posts: 4
Joined: Apr 2014
Reputation: 0
Post: #1
SIP-T32G OpenVPN Missing?
I currently have an OpenVPN server working using Snom SIP phones. I am trying to configure my first Yealink phone (T32G), but I'm not having much luck.

I increased the log level to 6 and exported the log, however I do not see any OpenVPN errors. The log file does not have OpenVPN in the process list which makes me wonder if the OpenVPN service is running on the T32G.

Any ideas as to what I may be missing?


openvpn.tar
\vpn.cnf
\keys\ca.crt
\keys\vpn.crt
\keys\vpn.key

[vpn.cnf]
client
dev tun
proto udp
remote X.X.X.X 61010
remote-random
resolv-retry infinite
auth-retry nointeract
nobind
tun-mtu 1500
fragment 1300
mssfix
persist-key
persist-tun
ca /phone/config/openvpn/keys/ca.crt
cert /phone/config/openvpn/keys/client.crt
key /phone/config/openvpn/keys/client.key
ns-cert-type server
verb 5
04-19-2014 04:37 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Yealink Support Offline
Administrator
*******

Posts: 2,683
Joined: Dec 2012
Reputation: 25
Post: #2
RE: SIP-T32G OpenVPN Missing?
1. Do you upload to T32G successful?
2. Can you share your server.conf or server.ovpn for me that i can debug?
3. Do you use the certificate using SHA1 or MD5 (encryption algorithm)?
(This post was last modified: 04-19-2014 09:40 AM by Yealink Support.)
04-19-2014 09:39 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
raggamofin Offline
Junior Member
**

Posts: 4
Joined: Apr 2014
Reputation: 0
Post: #3
RE: SIP-T32G OpenVPN Missing?
1. Yes, I uploaded the client configuration and then vpn to active. I also confirmed that vpn was set to active on the phone itself.

2. I am using OpenVPN on Vyatta. Here's the config from there...

openvpn vtun0 {
local-port 61010
mode server
openvpn-option "--tun-mtu 1500 --fragment 1300 --mssfix" [this line was put in for the Snom phones]
protocol udp
server {
push-route 192.168.0.0/16
push-route 10.0.0.0/8
push-route 172.16.0.0/12
subnet 172.17.21.0/24
}
tls {
ca-cert-file /config/auth/ca.crt
cert-file /config/auth/mymachine.domain.com.crt
crl-file /config/auth/crl-v2.pem
dh-file /config/auth/dh1024.pem
key-file /config/auth/mymaching.domain.com.key


3. SHA1
04-22-2014 11:22 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Yealink Support Offline
Administrator
*******

Posts: 2,683
Joined: Dec 2012
Reputation: 25
Post: #4
RE: SIP-T32G OpenVPN Missing?
Please use "/config/openvpn/keys/ " but not "/config/auth/".
04-23-2014 08:47 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
raggamofin Offline
Junior Member
**

Posts: 4
Joined: Apr 2014
Reputation: 0
Post: #5
RE: SIP-T32G OpenVPN Missing?
The /config/auth/ is in the server configuration and is relative to the server and not the client.

Is there something else I could try?

(04-23-2014 08:47 PM)Yealink Support Wrote:  Please use "/config/openvpn/keys/ " but not "/config/auth/".
04-24-2014 12:03 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Yealink Support Offline
Administrator
*******

Posts: 2,683
Joined: Dec 2012
Reputation: 25
Post: #6
RE: SIP-T32G OpenVPN Missing?
\keys\ca.crt
\keys\vpn.crt
\keys\vpn.key

Red color should be the same .
ca /phone/config/openvpn/keys/ca.crt
cert /phone/config/openvpn/keys/client.crt
key /phone/config/openvpn/keys/client.key
(This post was last modified: 04-24-2014 07:55 PM by Yealink Support.)
04-24-2014 07:54 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
raggamofin Offline
Junior Member
**

Posts: 4
Joined: Apr 2014
Reputation: 0
Post: #7
RE: SIP-T32G OpenVPN Missing?
Ah!!!!! Sorry. I completely missed that! Let me fix that and let you know what happens.
04-24-2014 10:47 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
gdewey Offline
Junior Member
**

Posts: 3
Joined: Jul 2014
Reputation: 0
Post: #8
RE: SIP-T32G OpenVPN Missing?
I configured several T48G and now I got some new T32G

using the cert path /phone/config/openvpn/keys/

but when I do the upload the file wont be taken. it shows as if nothing happened. name of files are fine and all certs also..

client.tar
\vpn.cnf
\keys\ca.crt
\keys\client.crt
\keys\client.key
\keys\ta.key

any ideas ? I followed about 20 times the same procedure with other model .. took me some time to get the right configs but it just wont work on this model
07-11-2014 05:27 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
pasha Offline
Junior Member
**

Posts: 1
Joined: Jan 2015
Reputation: 0
Post: #9
RE: SIP-T32G OpenVPN Missing?
I'm having some issues getting openvpn going on my t32 as well. I know that openvpn (or any vpn software for that matter) is quite dependant on system time / date, I would make sure that on your end that is set correctly. In my case for some reason ntp was not working even though I set it to multiple free ntp servers, it sets it to march of 2013, I have a feeling as soon as I resolve this issue vpn will start functioning. As a test I tested the client config on my ubuntu laptop and was successfully able to make the vpn tunnel as well as login to the pbx through it, so it is likely the date. I thought I'd mention that as the date is quite easy to overlook.

Hope it helps someone.
01-12-2015 05:41 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Passing only LDAP traffic through OPENVPN Commensus 0 2,281 02-23-2022 09:47 PM
Last Post: Commensus
  Configuring OPENVPN with Yealink Commensus 0 2,714 02-23-2022 09:45 PM
Last Post: Commensus
  DHCP not working on T26P when OpenVPN is enabled. LandonL 11 37,167 05-12-2021 10:46 AM
Last Post: 1sae
  Solved Openvpn.tar creating the right size file compsos 3 8,679 08-20-2020 06:49 AM
Last Post: complex1
  OpenVPN and QoS/TOS roelvanmeer 0 4,731 02-19-2019 09:27 AM
Last Post: roelvanmeer
  Multicast Paging - Metaswitch EPP missing "Channel" ahull 1 6,680 11-27-2018 12:57 PM
Last Post: ahull
  OpenVPN Timeout connecting p2xt 3 10,530 07-13-2018 07:37 PM
Last Post: jolouis
  openvpn w52p setup rafael 4 19,577 08-10-2017 02:03 PM
Last Post: indicato
  can't setup openvpn with t48g zzz 8 25,052 07-18-2017 09:04 AM
Last Post: sj
  OpenVPN in T27P arcsistemes 1 7,684 07-13-2016 04:50 PM
Last Post: Klaus_Yealink

Forum Jump:


User(s) browsing this thread:

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication