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

Yealink Test Club has been officially launched. Please visit post below to get detail information. Come and join us!

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 :

Post Reply 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OpenVPN and DNS Servers
Author Message
Kevin_Yealink Offline

Posts: 200
Joined: Jul 2016
Reputation: 2
Post: #2
RE: OpenVPN and DNS Servers
(10-15-2017 08:58 PM)_DJ Wrote:  Hi,

How are phones connected with OpenVPN supposed to work with DNS Servers?

My assumption was that the phone will first start to initiate an OpenVPN connection if possible. If successful and DNS servers are pushed by the OpenVPN server, the phone will use these DNS servers as the preferred over the DNS servers first received from the initial DHCP on the LAN.

Then these DNS servers pushed by OpenVPN will be used for resolution of

- Autoprovisioning Server
- SIP Server
- Outbound Proxy Servers

However I am finding that even connecting to OpenVPN the DNS servers pushed by DHCP are used for resolution of the above.

Could you please confirm this

I've tried this with a T40P

Firmware Version

also with a T23G

Firmware Version

Here are some of the settings I am using

auto_provision.dhcp_option.enable = 1
account.1.outbound_proxy_enable = 1
account.1.sip_server.1.address =
account.1.outbound_proxy.1.address =
account.1.outbound_proxy.2.address =
account.1.outbound_proxy.1.port = 0
account.1.outbound_proxy.2.port = 0
account.1.outbound_proxy.1.retry_counts = 3
account.1.outbound_proxy.1.invite_retry_counts = 3
account.1.outbound_proxy.1.register_on_enable = 1
account.1.outbound_proxy.2.register_on_enable = 1
account.1.outbound_proxy.1.only_signal_with_registered = 1
account.1.outbound_proxy.1.failback_mode = 3
account.1.outbound_proxy.1.failback_timeout = 60
account.1.outbound_proxy_fallback_interval = 60
account.1.outbound_proxy.1.failback_subscribe.enable = 1
account.1.sip_server.1.transport_type = 3
sip.use_out_bound_in_dialog = 0
account.1.outbound_port = 0


Hi This is Kevin from Yealink support team, nice to know you.

If yealink phone connect openVPN, it suppoort to use DNS server which push by openVPN when resolute DNS-NATPR. So it should match your question.

For the issue, i need your kindly help provide PCPA, syslog, config.bin files with open.tar. to do more troubleshooting. Please reproduce the issue and export those files to me.
For how to export those files, you can refer to the FAQ:

BTW, may i know how many phones do you have and how many phones are affected.

10-16-2017 02:07 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 

Messages In This Thread
OpenVPN and DNS Servers - _DJ - 10-15-2017, 08:58 PM
RE: OpenVPN and DNS Servers - Kevin_Yealink - 10-16-2017 02:07 AM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  OpenVPN supported Ciphers avayax 1 342 10-11-2019 11:11 PM
Last Post: Babylonia
  V83 and openvpn problem avayax 6 2,058 05-10-2019 08:51 PM
Last Post: caldwell
  T27G openvpn systems 3 2,122 09-24-2018 05:49 PM
Last Post: caldwell
  Yealink T23G openvpn pfsense freepbx one way audio Chen Kang 3 3,722 08-07-2017 01:20 AM
Last Post: Chen Kang
  Connection to 2 x different SIP servers with the same username jbsolutios 6 4,563 02-09-2017 12:18 PM
Last Post: Lucia_Yealink
  OpenVPN on T41P enzain 2 2,980 09-06-2016 06:16 AM
Last Post: Karl_Yealink
  T21P E2 OpenVPN: After replacing the VPN Config it will not connect. vianneyjs 4 6,282 06-23-2016 08:20 PM
Last Post: jmoore
  T23G Multiple SIP accounts on Multiple SIP Servers sjit 5 4,858 02-24-2016 05:26 AM
Last Post: RUN_Support
  Openvpn.tar file name avayax 3 4,395 01-19-2016 04:07 AM
Last Post: Karl_Yealink
  T21P E2 OpenVPN: Registration Failed vianneyjs 2 4,749 12-30-2015 09:26 AM
Last Post: vianneyjs

Forum Jump:

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

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