[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:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DHCP not working on T26P when OpenVPN is enabled.
Author Message
mfvianna Offline
Junior Member
**

Posts: 1
Joined: Jul 2016
Reputation: 0
Post: #11
RE: DHCP not working on T26P when OpenVPN is enabled.
(02-24-2016 09:59 PM)pdugas Wrote:  I'm getting bit by this little nasty as well. Can't reliably switch from using a FQDN to an IP because our VPN server is on a dynamic circuit. Need a fix for this ASAP please.

Oh, I'm using a T22P running the current 7.73.0.50 firmware. Pls fix.

I had to fight with this bug for a few hours before getting into an acceptable workaround.

The bug seems to happen because OpenVPN tries to resolve the FQDN before the phone gets its IP and for some reason it then avoids the phone to get the IP, even if we tell OpenVPN to not attepmt indefinitely (i.e., resolv-retry infinite).

The workaround that worked for me is to fool OpenVPN in the first attempt so that the next time, when it retries 5 seconds later, the network is already available:

Here is the trick:

Where you define your remote in the vpn.cnf like this:
remote whatever-fqdn.you.use port-number

You add a line before it containing a loopback interface reference:
remote 127.0.0.1 any-port-number
remote whatever-fqdn.you.use port-number

For obvious reasons the first server will fail and after 5 secs, OpenVPN will try the second. At this point, the network will already be functional and the FQDN resolution will work.

Hope it works for you too.
(This post was last modified: 07-03-2016 04:58 AM by mfvianna.)
07-03-2016 04:42 AM
Find all posts by this user    like1    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
RE: DHCP not working on T26P when OpenVPN is enabled. - mfvianna - 07-03-2016 04:42 AM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  No IP address for W60 but T42 working ok heathb 2 3,923 03-09-2022 05:11 PM
Last Post: complex1
  Passing only LDAP traffic through OPENVPN Commensus 0 1,983 02-23-2022 09:47 PM
Last Post: Commensus
  Configuring OPENVPN with Yealink Commensus 0 2,477 02-23-2022 09:45 PM
Last Post: Commensus
  MWI not working with Fritzbox frappy 0 3,897 10-05-2020 08:34 PM
Last Post: frappy
  Solved Openvpn.tar creating the right size file compsos 3 8,196 08-20-2020 06:49 AM
Last Post: complex1
  OpenVPN and QoS/TOS roelvanmeer 0 4,537 02-19-2019 09:27 AM
Last Post: roelvanmeer
  OpenVPN Timeout connecting p2xt 3 10,063 07-13-2018 07:37 PM
Last Post: jolouis
  openvpn w52p setup rafael 4 19,009 08-10-2017 02:03 PM
Last Post: indicato
  can't setup openvpn with t48g zzz 8 24,120 07-18-2017 09:04 AM
Last Post: sj
  T42G dhcp issue Neway 1 8,206 06-15-2017 03:01 AM
Last Post: Karl_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