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
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