Yealink Forums
T21P E2 VPN - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: Configuration (/forumdisplay.php?fid=24)
+--- Thread: T21P E2 VPN (/showthread.php?tid=37218)



T21P E2 VPN - tlathane - 11-09-2016 04:25 PM

Hi,

Hope someone can assist,

I am having a problem with loading vpn config files and connecting to vpn.

When a tar my config files with the recommended file structure I get a message saying "Successfully loaded" but can't enable VPN.

If I tar all the config on a flat folder structure, the vpn.cnf files loads but my VPN doesn't connect, below is my vpn config file

client
dev tun
proto tcp
remote xxx.xxx.xxx.xxx 443
tls-remote
route remote_host 255.255.255.255 net_gateway
resolv-retry infinite
nobind
persist-key
persist-tun
ca /config/ca.crt
cert /config/client.crt
key /config/client.key
auth-user-pass
cipher AES-128-CBC
auth MD5
comp-lzo
route-delay 4
verb 3
reneg-sec 0


RE: T21P E2 VPN - Yealink_Michael - 11-21-2016 06:45 AM

hi

thanks for your information

for your issue, here is the rpely :

1. upgrade to the newest firmware and reset :
http://download.support.yealink.com/download?path=upload%2Fattachment%2F2016-10-31%2F6%2F30e9adb5-bace-4f58-82dc-d226145a1275%2FT21P_E2-52.81.0.15.zip

2. modify the path on vpn.cnf file , it should be :
ca /config/openvpn/keys/ca.crt
cert /config/openvpn/keys/client.crt
key /config/openvpn/keys/client.key

for more information ,please refer to the guide below :
http://support.yealink.com/attachmentDownload/download?path=upload%2Fattachment%2F2016-4-20%2F3%2F2fc5e961-03fa-478c-b70a-e01a166a095c%2FOpenVPN_Feature_on_Yealink_IP_Phones_V80_63.pdf

at the same time i attached a sample .tar file for your reference

at last , if still any problem, please attached the .tar file and server.ovpn for me so that i can double check .

TKS & BR

Michael


RE: T21P E2 VPN - tlathane - 11-22-2016 08:00 AM

Hi Michael,

Thank you for the reply.

I upgraded the firmware and edited the vpn.cnf file as recommended.

Just to note that I am using a sophos OpenVPN server, see attached my tar file on you PM

Thanks
Tumelo


RE: T21P E2 VPN - tlathane - 11-24-2016 03:11 PM

Hi Michael,

Finally managed to get the T21P E2 to connect with the sophos SSL VPN.

See my vpn.cnf file:

client
dev tun
proto tcp
remote xxx.xxx.xxx.xxx 443
tls-remote "/C=za/L=JHB/O=Company Name/CN=me.domain/emailAddress=me@domain.com"
route remote_host 255.255.255.255 net_gateway
resolv-retry infinite
nobind
persist-key
persist-tun
ca /config/openvpn/keys/ca.crt
cert /config/openvpn/keys/client1.crt
key /config/openvpn/keys/client1.key
auth-user-pass /config/openvpn/keys/auth.cfg
cipher AES-128-CBC
auth MD5
comp-lzo
route-delay 4
verb 3
reneg-sec 0


RE: T21P E2 VPN - AleksandrS - 05-04-2018 08:36 AM

My vpn.cfg != vpn.cnf Big Grin Thanks. It is working. (Keys 2048 bit)