[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
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
  Yealink T21P_E2 phones change status to DND Maria Nikolova 0 711 05-10-2024 03:40 PM
Last Post: Maria Nikolova
  Yealink T53-w and OpenVPN jkalber 3 2,911 01-11-2024 11:19 PM
Last Post: complex1
  Better Together failures on Yealink MP54 mfreeman@cmlmicro.com 0 2,024 08-11-2023 12:10 AM
Last Post: mfreeman@cmlmicro.com
  T46U Yealink Phone and WH63 Wireless Headset sforaker 0 2,127 09-06-2022 07:50 PM
Last Post: sforaker
  Sync Outlook or Teams Contacts with Yealink VP59 Teams Edition gijoe 2 8,415 08-04-2022 01:59 PM
Last Post: aero1247e
  Yealink T41s Multiple sip Accounts scorpio313 0 4,820 09-11-2020 02:33 PM
Last Post: scorpio313
  Yealink T58A and Shoretel SIP jbriles@bmi.com 0 5,173 05-26-2020 05:36 PM
Last Post: jbriles@bmi.com
  Yealink T27G Line Key BLFs Flash During Ring All Infonetx 0 5,218 02-17-2020 06:53 PM
Last Post: Infonetx
  Headset Prior (Yealink T21P) dreemer 4 15,031 11-05-2018 03:44 PM
Last Post: dreemer
  Yealink T58A Firmware runek@sildelaget.no 0 9,317 07-04-2018 01:04 PM
Last Post: runek@sildelaget.no

Forum Jump:


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

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