Yealink Forums
Local DHCP doesnt work when OpenVPN is enabled - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: Configuration (/forumdisplay.php?fid=24)
+--- Thread: Local DHCP doesnt work when OpenVPN is enabled (/showthread.php?tid=3987)



Local DHCP doesnt work when OpenVPN is enabled - davids@btni.co.uk - 06-23-2015 07:08 AM

Hi,
I have managed to get the OpenVPN connection working from my Yealink T28 to FreePBX OpenVPN, however this was using a static IP address on the phone. As soon as I turn it to DHCP the phone just sits on obtaining IP address.

We need them to be configured to use DHCP so that normal users can take the phones home and plug into the home networks, no matter what way their home networks are configured.

Ideally it should get a local IP address first, and then dial the VPN and get its tunnel address and finally find the PBX.

As soon as I give the phone a static IP address it connects to the VPN and registers against FreePBX.

If I turn off VPN it will pick up a dhcp address straight away (after it reboots) so I know my dhcp server is ok.

Some specs
T28P
Firmware 2.73.0.50
Windows 2012R2 DHCP - no VLAN - 192.168.xx.xx network
OpenVPN network - 10.0.8.xx
I have tried the phone through two different PoE switches, cisco and netgear.

I will gather up some logs and post then here shortly, but thought I would put the question out in case someone has came across this issue before.
Thanks
David

Update - No logs are recorded on the windows server, and as the phone gets rebooted before I can connect to it, its logs don't show anything before the reboot. Correct me if i'm wrong or if you know how I can see the logs of it failing to get a dhcp address?
Thanks


RE: Local DHCP doesnt work when OpenVPN is enabled - Flora_Yealink - 06-23-2015 09:38 PM

Thanks, someone will contact you about it .
Best Regards!
Flora


RE: Local DHCP doesnt work when OpenVPN is enabled - LandonL - 11-19-2015 06:32 AM

Did you ever get an answer to this? I am having the same problem, asked Yealink and they haven't responded in over a week.


RE: Local DHCP doesnt work when OpenVPN is enabled - LandonL - 11-19-2015 10:22 AM

I finally figured my problem out, sort of. I did a factory reset and then reconfigured the VPN using the same tar file, and now everything works. May be that the phone was not factory reset after the firmware update. Problem solved.