New Forum system requires email address which you used to apply for your account to replace your original username. Password stays the same.Please see this post for more details
http://forum.yealink.com/forum/showthread.php?tid=40344

Yealink Test Club has been officially launched. Please visit post below to get detail information. Come and join us!
http://forum.yealink.com/forum/announcements.php?aid=18

We just had the YMCS online and we are also working on the features plan on the future versions, in this regard we are need to hear your voice about the YMCS.
Please visit : http://forum.yealink.com/forum/showthread.php?tid=42322


Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
can't setup openvpn with t48g
Author Message
zzz Offline
Junior Member
**

Posts: 2
Joined: Apr 2016
Reputation: 0
Post: #1
can't setup openvpn with t48g
Running 35.80.0.95. Found a great guide on your site for setup, but I am encountering a problem. I go to network / advanced on the web interface, and I see the VPN section at the bottom. I select Browse, and then navigate to the tar file. When I select it, the dialog box box immediately changes to the text "C:\fakepath\openvpn.tar" This is especially bad since I am running Linux. When I press upload, I (very quickly) get a "JavaScript Upload Success!" popup window (with no real indication that anything was actually uploaded). When I try to enable the VPN (by pressing confirm), I get a pop up window that says: "JavaScript Please upload VPN config file first!" I have not been able to figure out what is really going on, and how to get around it.

Thank you in advance
04-14-2016 11:39 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Karl_Yealink Offline
Super Moderator
******

Posts: 673
Joined: Apr 2015
Reputation: 4
Post: #2
RE: can't setup openvpn with t48g
Can you send the configuration files to me check here?
04-15-2016 05:44 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
zzz Offline
Junior Member
**

Posts: 2
Joined: Apr 2016
Reputation: 0
Post: #3
RE: can't setup openvpn with t48g
Not sure exactly what files you want. Can you be more specific? I certainly don't want to post certificates and keys into a public forum (I couldn't find a way to send an attachment in a private message). Here is vpn.conf:

Code:
auth-nocache
auth-retry nointeract
auth-user-pass
ca /config/openvpn/keys/ca.crt
cert /config/openvpn/keys/client.crt
key /config/openvpn/keys/client.key
cipher AES-256-CBC
client
comp-lzo no
dev tun
dev-type tun
explicit-exit-notify 2
ifconfig-nowarn
mute 20
nobind
persist-key
persist-tun
rcvbuf 100000
remote vpn-provider.net 53 udp
reneg-sec 604800
route 0.0.0.0 0.0.0.0
route-delay 2
route-method exe
setenv SERVER_POLL_TIMEOUT 4
sndbuf 100000
tls-auth vpn-provider.key 1
verb 3
04-15-2016 08:24 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Karl_Yealink Offline
Super Moderator
******

Posts: 673
Joined: Apr 2015
Reputation: 4
Post: #4
RE: can't setup openvpn with t48g
the line below have something wrong.
remote vpn-provider.net 53 udp

the correct is
remote vpn-provider.net
port 53
proto udp

Please change the file then test again.
If the problem still persist, please send the configuration file to me(karl@yealink.com)
The configuration file is the one you upload to phone side.
Please add the link of this forum in email, so I can know the problem detail.
04-30-2016 10:18 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
mkazaz Offline
Junior Member
**

Posts: 1
Joined: Aug 2016
Reputation: 0
Post: #5
RE: can't setup openvpn with t48g
I have the same problem.My phone is W52P and my vpn.cnf file is as follow

client
dev tun
remote 212.2Xx.xxx.xxx
proto udp
port 1194
float
comp-lzo adaptive
keepalive 15 60
auth-user-pass
ns-cert-type server
ca /config/openvpn/keys/ca.crt
cert /config/openvpn/keys/client.crt
key /config/openvpn/keys/client.key
resolv-retry infinite
nobind


Do you see any problem here. ls the paths are okeyfor W52P

One me re thing, for cert and keyfiles is below sample is ok. Ihave begin and end like below

-----BEGIN PRIVATE KEY-----
MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBANDHuqP
-----END PRIVATE KEY-----
Need help pls.
08-01-2016 10:35 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Kay Offline
Junior Member
**

Posts: 1
Joined: Sep 2016
Reputation: 0
Post: #6
RE: can't setup openvpn with t48g
Same here i can't make openvpn work (see no request on the server site to connect).

My config:
-----
client
dev tun
remote XXX.XXX.XXX.XXX
port 1443
proto tcp
tls-remote "/C=de/L=Attenkirchen/O=eXyrium_GmbH/CN=hq.exyrium.com/emailAddress=infrastructure-admin@exyrium.com"
##############################################################
# Use this tls-remote option if you use openvpn-2.3 or later
#tls-remote "C=de, L=Attenkirchen, O=eXyrium GmbH, CN=hq.exyrium.com, emailAddress=infrastructure-admin@exyrium.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/user.crt
key /config/openvpn/keys/user.key
auth-user-pass
cipher AES-256-CBC
auth SHA512
comp-lzo
route-delay 4
verb 3
reneg-sec 0
-----
09-02-2016 06:54 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
sj Offline
Junior Member
**

Posts: 2
Joined: Jul 2017
Reputation: 0
Post: #7
RE: can't setup openvpn with t48g
Hi there

I'm facing the same problem, however, first of I'd like to say that I don't think it's good anymore that users are forced to split up the remote line into remote, port and proto. The all-in-one line remote ADDR PORT PROTO has been in ovpn for years.

Any way, I can't get to upload my config either. In Linux after selecting the file, the path in the form is altered to c:\fakepath (the same happens from windows). In Linux I get a JS popup that says upload successfull and then the page gets refreshed, openvpn deactivated again.

Yealink T48G:
Firmware version: 35.81.0.110
Hardware Version: 35.1.0.2.1.0.0

My config looks like this:

Code:
client
dev tun
resolv-retry infinite
nobind
persist-key
persist-tun

key-direction 1

cipher BF-CBC

ns-cert-type server
verb 5
mute 50

comp-lzo

remote REMOTE_ADDR
port 1195
proto udp

sndbuf 0
rcvbuf 0

<ca>
-----BEGIN CERTIFICATE-----
[....]
-----END CERTIFICATE-----
</ca>
<cert>
[....]
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
[....]
-----END PRIVATE KEY-----
</key>
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
[....]
-----END OpenVPN Static key V1-----
</tls-auth>

Is the problem that I have certs and key in the config itself?
Is the problem that I use a 2048bit TLS key?
07-11-2017 12:58 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
sj Offline
Junior Member
**

Posts: 2
Joined: Jul 2017
Reputation: 0
Post: #8
RE: can't setup openvpn with t48g
Ok, I finally managed to get it to run. My problem was, that I always named it "vpn.conf" and not "vpn.cnf" in the tar ball.

Also I can confirm that TLS Auth and Inline Keys/Certs work fine.

If have attached my current config with integrated tls-auth and inline keys.

The verb level could possibly be tuned down a bit to 3.


Attached File(s)
.tar  client.tar (Size: 2.5 KB / Downloads: 41)
(This post was last modified: 07-18-2017 09:21 AM by sj.)
07-18-2017 09:04 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
kirill Offline
Junior Member
**

Posts: 1
Joined: Nov 2017
Reputation: 0
Post: #9
RE: can't setup openvpn with t48g
Hi,

First of all, I'd like to thank SJ for providing a complete working config and Karl for pointing out that, contrary to Yealink documentation, the "remote" parameter needs to be split up.

The documentation on Yealink openVPN setup is so poor that it should be either completely rewritten (so that it actually matches the reality) OR removed altogether and replaced with this thread.

Adding to previous comments, I'm also sharing my working config in a hope that someone might come across it before they find the official documentation and waste time:

Code:
client
dev tun
proto udp
remote [SERVER_IP]
port [SERVER_PORT]
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
key-direction 1
cipher AES-128-CBC
auth SHA256
comp-lzo
verb 3

<ca>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
</ca>
<cert>
Certificate:
...
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----
</key>
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
...
-----END OpenVPN Static key V1-----
</tls-auth>
11-08-2017 11:04 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  OpenVPN and QoS/TOS roelvanmeer 0 595 02-19-2019 09:27 AM
Last Post: roelvanmeer
  OpenVPN Timeout connecting p2xt 3 1,743 07-13-2018 07:37 PM
Last Post: jolouis
  trying to setup VPN on T29G/46.82 mikeymike20 3 2,544 11-09-2017 06:37 AM
Last Post: Lucia_Yealink
  Call Park Mode transfer on T48G jasonblewis 2 2,739 11-09-2017 01:26 AM
Last Post: Aishion_Yealink
  T48G not connecting to Skype Lisa H 0 1,125 10-16-2017 03:17 AM
Last Post: Lisa H
Bug T46g & T48G RADIUS 802.1x and SHA256 Bigmac 22 17,987 08-13-2017 07:54 PM
Last Post: MiKeDaDoC
  openvpn w52p setup rafael 4 7,447 08-10-2017 02:03 PM
Last Post: indicato
  T48G - busy tone for a second incomming call Dirk 8 6,568 01-17-2017 05:36 PM
Last Post: complex1
  T48G BLF triggers display brightness MaxHeu 4 3,920 10-25-2016 09:23 PM
Last Post: MaxHeu
  T48G + EXP40 - Cant configure EXP40 using XML Objects JohnM72 1 2,887 10-14-2016 07:11 PM
Last Post: Kevin_Yealink

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication