Yealink Forums

Full Version: T21P E2 VPN
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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/down...1.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/attachmentDow...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
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
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
My vpn.cfg != vpn.cnf Big Grin Thanks. It is working. (Keys 2048 bit)
Reference URL's