Yealink Forums
SOLVED - T46G OPENVPN - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: Configuration (/forumdisplay.php?fid=24)
+--- Thread: SOLVED - T46G OPENVPN (/showthread.php?tid=599)



SOLVED - T46G OPENVPN - briankelly63 - 07-04-2013 06:43 AM

Update:
The key to this issue is the paths used in the vpn.cnf file. You may get a successful upload but unless you accurately reference the location of the files things are not going to work and an examination of the phones log will indicate that it can't find the files. The previous T28 or early t38 path format will not work!

The correct paths for the T4XG are:

ca /config/openvpn/keys/ca.crt
cert /config/openvpn/keys/client.crt
key /config/openvpn/keys/client.key

The exportable T38G (2) style client.tar files in the Pfsense OPENVPN package match what is needed for the T4XG.
Also key to getting RTP audio to work is by adding your VPN subnet to the localnet entry in Asterisk.

Example localnet=192.168.2.0/255.255.255.0

Read up on multiple localnet entries in SIP config.

You may find this Yealink guide helpful except for the path information:

ftp://ailsa:6br6pcyl@ftp.yealink.com/OPEN-VPN.rar

------------------------------------------------

Is the OPENVPN tar file structure on the T46G the same as the 38? 28? Any OPENVPN docs specific to the T46G available? I already have the existing Yealink OPENVPN doc which is now a bit out of date and does not address the T4X series.

Update: The phones log indicates that it can't find the clients1.crt file which I've specified (including path) even though it is in the uploaded tar file which is in the proper format. The tar file is accepted during the upload.

So this may be a path issue, unique to the T46G that Yealink needs to clarify. The crt file is being placed somewhere in the phone file system the question is where.

I did notice a /factory/openvpn directory in the log files but that didn't seem to be it.


RE: T46G OPENVPN - Yealink Support - 07-05-2013 02:36 PM

Hi Brian,
Our support team already deal with this issue by email.
Thanks.


RE: T46G OPENVPN - briankelly63 - 07-05-2013 07:35 PM

(07-05-2013 02:36 PM)Yealink Support Wrote:  Hi Brian,
Our support team already deal with this issue by email.
Thanks.

The part that is missing and not up to date in the information you sent is related to the directories

In the pdf file you included is the following:

"The directories vary between different IP phone models: /yealink/config/” for SIP-T2xP IP phones /phone/config/” for SIP-T3xG IP phones /config/ for VP530 IP phones The following shows an example of the certificate files path for SIP-T2xP IP phones: ca /yealink/config/openvpn/keys/ca.crt cert /yealink/config/openvpn/keys/client.crt key /yealink/config/openvpn/keys/client.key"

What I am looking for is the appropriate directories for the T46G.


RE: SOLVED - T46G OPENVPN - grooveion - 11-02-2013 06:24 AM

OK so according to the latest openvpn documentation posted, with my t46g I should create a tar file that looks like this:

openvpn.tar
/vpn.cnf
/keys/
/keys/ca.crt
/keys/client.crt
/keys/client.key

Or should the folder hierarchy in the tar file match what you are describing here (/config/openvpn/keys/...)?

This would be a lot easier if you'd let us scp the files to the device ;-)