New Forum system requires email address which you used to apply for your account to replace your original username. Password stays the same.Please see this post for more details
http://forum.yealink.com/forum/showthread.php?tid=40344

Yealink Test Club has been officially launched. Please visit post below to get detail information. Come and join us!
http://forum.yealink.com/forum/announcements.php?aid=18

We just had the YMCS online and we are also working on the features plan on the future versions, in this regard we are need to hear your voice about the YMCS.
Please visit : http://forum.yealink.com/forum/showthread.php?tid=42322


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Yealink T22 Openvpn
Author Message
mali Offline
Junior Member
**

Posts: 15
Joined: Mar 2014
Reputation: 0
Post: #1
Yealink T22 Openvpn
Hi,

We have T22 T42 and T46

I have successful setup openvpn on T42 and T46 witj no problem at all

But with the t22 it is driving me crazy, I have the firmware 7.72.0.80 on the phone

and reading the OpenVPN_Feature_on_Yealink_IP_Phones on the yealink site it say that: "SIP-T2xP and SIP-T3xG IP phones with the latest V71 firmware (or later) are
compatible with above information. We recommend you to use the unified
“/config/openvpn/keys/”."

So here is my config file:

client
dev tun
proto udp
remote 200.6.xxx.xxx 1194
remote-random
resolv-retry infinite
nobind
persist-key
persist-tun
mute-replay-warnings
cipher AES-128-CBC
ca /config/openvpn/keys/ca.crt
cert /config/openvpn/keys/client.crt
key /config/openvpn/keys/client.key ca.crt
ns-cert-type server
comp-lzo
verb 3

but the vpn don't want to come up, when I check the error log on the phone it show this:

Oct 27 00:00:19 openvpn[409]: Cannot load certificate file /yealink/config/openvpn/keys/client.crt: error:02001002:system library:fopen:No such file or directory: error:20074002:BIO routines:FILE_CTRL:system lib: error:140AD002:SSL routines:SSL_CTX_use

I also try the /yealink/config/openvpn/keys/ but with no luck
10-28-2014 04:04 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
James_Yealink Offline
Administrator
*******

Posts: 1,159
Joined: Aug 2014
Reputation: 8
Post: #2
RE: Yealink T22 Openvpn
Hi Mail,

Do you mean that a same tar file can't work in T22 but work in T42 and T46?

Can you reset the phone and check again?
If it still doesn't work would you mind sending the tar file to us for a local test? We will delete it as soon as we finish the test.
You can send it to my mail James@yealink.com.

Regards,
James
10-28-2014 03:21 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
mali Offline
Junior Member
**

Posts: 15
Joined: Mar 2014
Reputation: 0
Post: #3
RE: Yealink T22 Openvpn
exactly, it work fine in t42 and t46, but when I can the file fot the ca to fit the one for t22 ass describe on your site: “/config/openvpn/keys/”."
is not working


(10-28-2014 03:21 PM)Yealink_James Wrote:  Hi Mail,

Do you mean that a same tar file can't work in T22 but work in T42 and T46?

Can you reset the phone and check again?
If it still doesn't work would you mind sending the tar file to us for a local test? We will delete it as soon as we finish the test.
You can send it to my mail James@yealink.com.

Regards,
James
10-31-2014 04:08 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
dgoiko Offline
Junior Member
**

Posts: 1
Joined: Feb 2015
Reputation: 0
Post: #4
RE: Yealink T22 Openvpn
Working config:
Quote:# Specify that this is a client configuration:
client
# Check whether the server is using a TUN or TAP interface, use the same here:
dev tun
# Check whether the server is using TCP or UDP protocol, use the same here:
proto tcp
# Specify the host name and OpenVPN port of the server:
remote not-your-business 0000
# Specify the file names of your certificates and key - these should not need changing.
# The path names must be exactly as detailed below:
ca /config/openvpn/keys/ca.crt
cert /config/openvpn/keys/telefonoAlfaro1.crt
key /config/openvpn/keys/telefonoAlfaro1.key
#
# NOTE: For Yealink-T2X phone with old firmware,add the initial /yealink directory , like this:
#
# ca /config/openvpn/keys/ca.crt
# cert /config/openvpn/keys/client1.crt
# key /config/openvpn/keys/client1.key
# The rest of these settings should be unchanged:
resolv-retry infinite
nobind
persist-key
persist-tun
mute-replay-warnings
ns-cert-type server
comp-lzo
verb 3
mute 10

Also remember to put the certs inside a /key folder within the tar.

I found what looks like a mistake in your config file:
Quote:key /config/openvpn/keys/client.key ca.crt
Shouldn't it be:
Quote:key /config/openvpn/keys/client.key

By the way, your phone says "Cannot load certificate file /yealink/config/openvpn/keys/client.crt" which does not match the provided configuration. Is it possible that you had a previous configuration and it did not flush? Or maybe the error corresponds to your later tries?
Anyway, if your config is not flushing, in order to upload a new file you must do the following steps, in that exact order:

1.- Disable VPN on your phone.
It will reboot afterwards, if not, make it.
2.- Upload the new .tar file
Apply changes.
3.- Enable the VPN
. The phone is suposed to reboot on its own

If everything is OK in the config you should be able to connect.

PS: I just noticed this post is 5 months old, so this will probable have no use after all. Anyways, It may help someone else solve the same problem, considering mali didn't post the answer he found.
(This post was last modified: 03-25-2015 06:17 PM by dgoiko.)
03-25-2015 06:06 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
  Headset Prior (Yealink T21P) dreemer 4 1,839 11-05-2018 03:44 PM
Last Post: dreemer
  Yealink T58A Firmware runek@sildelaget.no 0 1,771 07-04-2018 01:04 PM
Last Post: runek@sildelaget.no
  Max USB stick size (for) Yealink SIP-T29G Shawn 1 2,144 05-17-2017 08:24 AM
Last Post: Lucia_Yealink
  Yealink T19P Action URI denis 1 3,116 10-19-2016 09:07 PM
Last Post: denis
  T41P and OpenVPN Mad_k_57 1 2,853 09-26-2016 10:55 AM
Last Post: Travis_Yealink
  Yealink phones rebooting perhaps caused by broadcast storm srcurtis 1 3,159 09-19-2016 05:17 PM
Last Post: Karl_Yealink
  Yealink XML Autentication with Mitel MX-ONE Telephony Server mpascuas 2 5,256 07-07-2016 05:15 PM
Last Post: jmoore
  problems with openvpn fmoreno 1 2,426 04-13-2016 06:04 AM
Last Post: Karl_Yealink
  Yealink W52P dialing rules possible? satsurfer 1 3,449 02-29-2016 06:57 PM
Last Post: complex1
  Yealink phone will not transfer to Voicemail grunenf 1 4,273 02-27-2016 05:31 AM
Last Post: James_Yealink

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

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