[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
OpenVPN - Multiple Phones Loose VPN, never reconnect
Author Message
cmariotti Offline
Junior Member
**

Posts: 9
Joined: Jun 2013
Reputation: 0
Post: #1
OpenVPN - Multiple Phones Loose VPN, never reconnect
We have a few clients with their Yealink phones behind their own firewalls... these phones each make an OpenVPN connection to our pfSense Firewalls at our datacenter which hosts their phone servers.

Every so often, their phone(s) loose their OpenVPN connections... Sometimes it is just one phone... sometimes it is both phones... they no longer have OpenVPN connections and are never seen again until the phone is powered off/on. Once powered on, no problems connecting / working.

What can I do so that the Yealink phones reestablish a connection, no matter how long their internet might go down for (no clue if this is the actual problem, is there a way to pull up the logs specifically for lost connections)? Any suggestions on how to keep things running smoothly?

Here is the .cfg file:

dev tun
persist-tun
persist-key
cipher AES-128-CBC
auth SHA1
tls-client
client
resolv-retry infinite
remote 172.172.172.172 1197 udp
ca /config/openvpn/keys/ca.crt
cert /config/openvpn/keys/client1.crt
key /config/openvpn/keys/client1.key
tls-auth /config/openvpn/keys/ta.key 1
ns-cert-type server
02-20-2014 05:53 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Yealink Support Offline
Administrator
*******

Posts: 2,684
Joined: Dec 2012
Reputation: 24
Post: #2
RE: OpenVPN - Multiple Phones Loose VPN, never reconnect
Hi cmariotti,

Someone has solved this problem and please refer to below forum.
http://forum.yealink.com/forum/showthread.php?tid=1229
(This post was last modified: 02-20-2014 12:57 PM by Yealink Support.)
02-20-2014 12:57 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
cmariotti Offline
Junior Member
**

Posts: 9
Joined: Jun 2013
Reputation: 0
Post: #3
RE: OpenVPN - Multiple Phones Loose VPN, never reconnect
(02-20-2014 12:57 PM)Yealink Support Wrote:  Hi cmariotti,

Someone has solved this problem and please refer to below forum.
http://forum.yealink.com/forum/showthread.php?tid=1229

If I add the following to the vpn.cnf file (as the thread suggests):
proto udp
keepalive 20 30
auth-nocache
script-security 2

It does not connect. If I remove the "keepalive 20 30", re-upload the .tar file, it connects.

The thread you reference has little explanation as to why they are using these parameters, but it specifically states that the keepalive is the solution, but that seems to be actually stopping the .tar from working.

Any advice? Will this be solved in a future Firmware update? Seems more like the fix should be there.
03-19-2014 10:40 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Yealink Support Offline
Administrator
*******

Posts: 2,684
Joined: Dec 2012
Reputation: 24
Post: #4
RE: OpenVPN - Multiple Phones Loose VPN, never reconnect
You should add this syntax in server.ovpn.
03-19-2014 02:53 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
  Bug Report: Tones for T2x phones Akira 0 403 12-05-2019 07:53 AM
Last Post: Akira
  OpenVPN and QoS/TOS roelvanmeer 0 934 02-19-2019 09:27 AM
Last Post: roelvanmeer
  OpenVPN Timeout connecting p2xt 3 2,478 07-13-2018 07:37 PM
Last Post: jolouis
  Multiple Lines on a Single Phone TomEdwards 2 3,139 11-21-2017 09:29 PM
Last Post: TomEdwards
  Yealink T20P phones with Fonality firmware Quan7 0 2,065 10-04-2017 10:00 PM
Last Post: Quan7
  openvpn w52p setup rafael 4 8,771 08-10-2017 02:03 PM
Last Post: indicato
  can't setup openvpn with t48g zzz 8 10,014 07-18-2017 09:04 AM
Last Post: sj
  How to register to multiple VoIP servers on different/seperate subnets ? mscag 2 3,303 03-28-2017 01:17 PM
Last Post: jolouis
  Multiple Ringing Lines on T41P ucidirect 2 3,798 12-05-2016 06:47 AM
Last Post: Lucia_Yealink
  OpenVPN in T27P arcsistemes 1 2,945 07-13-2016 04:50 PM
Last Post: Klaus_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