openvpn via autoP not working ! - Printable Version +- Yealink Forums (http://forum.yealink.com/forum) +-- Forum: IP Phone Series (/forumdisplay.php?fid=4) +--- Forum: Auto Provisioning (/forumdisplay.php?fid=14) +--- Thread: openvpn via autoP not working ! (/showthread.php?tid=4072) |
openvpn via autoP not working ! - yva - 07-08-2015 03:50 AM hi all , i need some help with openvpn tar file and auto provisioning. the setup is like that : T26 with ver6.61.23.16 , i know its old ver but its complex system with 150 phones different places . (try to play others v61 also ). now , i have openvpn server up and running . i created the client tar file .so far so good , if i upload the file from web interface the file upload and then successful connect to the openvpn server . my problem is that i want use auto prov to push and enable the vpn option . so , in the mac.cfg i added the lines : [ VPN ] path = /config/Network/Network.cfg EnableVPN = 1 [OPENVPN] path = /tmp/download.cfg server_address = http://192.168.168.231/vpn/client1.tar this line do two things , first enable the vpn option , second tell the phone where is the tar file . this line looks works because after the phone pull the mac.cfg the vpn option switch to enable , and if debug the access.log at 192.168.168.231 i see that the phone got the file : 192.168.1.8 - - [07/Jul/2015:22:35:09 +0300] "GET /vpn/client1.tar HTTP/1.0" 200 20480 "-" "yealink SIP-T26P 6.61.23.16 00:15:65:15:6e:be" but , even everything looks good the phone come to enable in "vpn active" on the web but not try connect to vpn server . try to reboot after the phone retrieve all the configuration files , same problem . on the openvpn server log i dont see any traffic from the phone . please , any idea ? i am trying couple days to find the answer. thanks RE: openvpn via autoP not working ! - James_Yealink - 07-08-2015 08:58 AM Hello, Can you try reversing the two parameter and check again? [OPENVPN] path = /tmp/download.cfg server_address = http://192.168.168.231/vpn/client1.tar [ VPN ] path = /config/Network/Network.cfg EnableVPN = 1 If it doesn't work please just upgrade one phone to new firmware for a test. Regards, James RE: openvpn via autoP not working ! - yva - 07-08-2015 03:21 PM (07-08-2015 08:58 AM)Yealink_James Wrote: Hello, try to replace , same problem . now tried with ver70 , its not pull the tar file at all . maybe the syntax is different ? .the vpn on off working(EnableVPN = 1) , its just not pull the file i dont want to jump to ver72 because all the provission template is completely different . any idea? thanks RE: openvpn via autoP not working ! - James_Yealink - 07-09-2015 08:25 AM Can you reset phone, set the syslog level to 6, do an autoprovision then send the log to us. Thanks James RE: openvpn via autoP not working ! - yva - 07-09-2015 01:47 PM (07-09-2015 08:25 AM)Yealink_James Wrote: Can you reset phone, set the syslog level to 6, do an autoprovision then send the log to us. thanks , i will do it with v61 and v70 , it will be very helpful to resolve the issue wite v61 , then i dont need to upgrade 150 phone over the internet . hope today to be on the lab , test and post the files . thanks |