[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
[SOLVED] OpenVPN not doing anything T42G V83
Author Message
Danariel Offline
Junior Member
**

Posts: 3
Joined: Jul 2019
Reputation: 0
Post: #1
[SOLVED] OpenVPN not doing anything T42G V83
Hello,
I've been searching in the forum and Google about how to configure properly the server and the phone to connect using OpenVPN.

The server is running OpenVPN 2.4.4
I've created the keys using easy-rsa3 with the option nopass and using the SHA1 method
As an additional information, the server is an AWS and I've tested to connect with a local openVPN client and the tunnel and IP assignation is done correctly
OpenSSL in the server is 1.0.2k

Code:
server.conf

local xx.xx.xx.xx
port 1194
proto udp
dev tun
tls-server
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/server.crt
key /etc/openvpn/keys/server.key
dh /etc/openvpn/keys/dh.pem
server 10.8.0.0 255.255.255.0
keepalive 10 120
comp-lzo
persist-key
persist-tun
verb 3
status openvpn-status.log
;log openvpn.log

The phone is a T42G running the firmware 29.83.0.50
From the logs, the version of OpenVPN running is 2.4.2

For the phone, I've created the folder keys, put the certs inside and the vpn.cnf outside. Then using tar -cvpf (as told in the PDF from yealink) I create the tar file and uploaded to the phone. After upload, the field changes to vpn.cnf
What I don't know if the certificates have been imported correctly because I don't know if there is a way to check the files structure of the phone and search them.


Code:
vpn.cnf

client
dev tun
proto udp
port 1194
remote xx.xx.xx.xx
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
ca /config/openvpn/keys/ca.crt
cert /config/openvpn/keys/phone.crt
key /config/openvpn/keys/phone.key
comp-lzo
verb3

As additional information, I've been writing the vpn.cnf line by line and uploading it to the phone and then rebooting to check the logs.
Errors appear only if the remote/port/proto and the keys are missing
After that, if the command is correct for OpenVPN, no error is shown except for the one below:
openvpn[1118]: OpenVPN 2.4.2 arm-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] built on

I've seen the option
auth SHA1
I'm not sure if it's needed to specify the "auth SHA1" or it's the default

Hope that's all the information needed to explain my problem
Thanks in advance for any help
(This post was last modified: 08-02-2019 08:36 PM by Danariel.)
08-01-2019 12:34 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
[SOLVED] OpenVPN not doing anything T42G V83 - Danariel - 08-01-2019 12:34 PM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Yealink T46U - OpenVPN to MikroTik Router isaiahsiewert 0 1,256 01-19-2024 12:04 AM
Last Post: isaiahsiewert
  T42G - Stuck at Welcome screen Maciejp 1 1,772 12-22-2023 01:47 AM
Last Post: complex1
  Model T42s and T42g, the speakerphone is enable on incoming calls Lissvazquez 6 5,272 07-28-2023 10:27 PM
Last Post: complex1
Bug T41P OpenVPN w/ PSK fails rnalrd 0 1,519 01-20-2023 10:52 PM
Last Post: rnalrd
  Cannot export any files T42G Telcopc 1 3,118 10-07-2022 01:26 AM
Last Post: Telcopc
  Yealink T42G Phone stuck at Welcome LFC 12 34,659 08-08-2022 04:16 PM
Last Post: markvdheijden
  Yealink T42S and T42G Phone stuck at Welcome Pierre06 7 14,283 01-10-2022 11:36 PM
Last Post: Pierre06
  T42G - Stuck at Welcome screen clevoip 1 6,154 10-15-2021 01:28 AM
Last Post: complex1
  T41P and OpenVPN coltarushalo 0 3,733 05-26-2021 02:58 AM
Last Post: coltarushalo
  Packet Capture - T4x w/OpenVPN coltarushalo 0 3,449 03-13-2021 01:15 AM
Last Post: coltarushalo

Forum Jump:


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

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