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
[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
  Move from SfB to Teams with T42G helios.comms 0 264 05-21-2019 07:51 PM
Last Post: helios.comms
  OpenVPN not working on T46S 66.83.0.35 _DJ 3 1,168 05-11-2019 07:54 AM
Last Post: complex1
  What cipher will T46G support in OpenVPN AndyInNJ 1 560 02-07-2019 01:32 PM
Last Post: jolouis
  Echo when using headset on T46S and T42G IZT-crobinson 0 540 11-27-2018 02:25 AM
Last Post: IZT-crobinson
  T42G recovery files needed Global Data Systems 0 641 11-12-2018 09:15 PM
Last Post: Global Data Systems
  OpenVPN tunnel disconnects frequently Ozy 2 835 11-01-2018 08:09 PM
Last Post: dannylarsen
  Solved - T46G - Firmware issues - 28.83.0.50 B-C 1 1,218 10-13-2018 09:33 AM
Last Post: complex1
  T42G - Impossible to upgrade firmware psanmartin 5 1,983 08-22-2018 01:24 PM
Last Post: psanmartin
  SHA256 for OpenVPN maibua 0 582 07-23-2018 08:11 AM
Last Post: maibua
  T48G Webrequest Time Outs? Solved Attila 0 721 07-07-2018 06:41 AM
Last Post: Attila

Forum Jump:


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

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