[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.

Post Reply 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Phone logs and OpenVPN
Author Message
AndyInNYC Offline
Junior Member

Posts: 10
Joined: Jul 2014
Reputation: 1
Post: #2
RE: Phone logs and OpenVPN

I have been having OpenVPN issues as well. My last round ended up being 'bad' certificates. They worked everywhere except on the phone (other PCs, iPhones, etc. could use them just fine). I used certificates created on another machine and ported them to the server.

Prior to that I had an issue many have had - the .tar file must been in a very specific format:

vpn.cnf (the 'client.conf' everywhere else)
a keys subdirectory
\keys\ca.crt (I think from memory)

The vpn.cnf must reference the certificates as though they were in another directory - like this:
ca /config/openvpn/keys/ca.crt

Here is my working vpn.cnf (client side) file:
cipher BF-CBC
auth SHA1
ns-cert-type server
remote X.Y.Z.A # You fill in your VPN address here
port 1190
proto udp
dev tun
verb 3
ca /config/openvpn/keys/ca.crt
cert /config/openvpn/keys/client1.crt
key /config/openvpn/keys/client1.key

Here is the working server.conf file:

local X.Y.Z.A # Fill in your IP address here
port 1194
proto udp
dev tun
# added based on pbxinaflaah.com
cipher BF-CBC
#end added

mode server
push "route"
push "dhcp-option DNS"
keepalive 20 60
verb 3
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key
dh /etc/openvpn/dh1024.pem
log-append /etc/openvpn/openvpn.log

I'm using iptables on my machine, you need to open the firewall - here's what I have as additions

-I INPUT -p udp --dport 1194 -j ACCEPT

in the *nat section as the very first line:


Hope this helps you. You can look at the created openvpn.log file (now in /etc/openvpn) to see if your phone is at least trying to hit the VPN.

08-10-2014 09:16 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 

Messages In This Thread
Phone logs and OpenVPN - KNERD - 08-06-2014, 08:48 AM
RE: Phone logs and OpenVPN - AndyInNYC - 08-10-2014 09:16 AM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Release phone from Zoom to upgrade firmware jamesmknox 0 238 05-13-2024 02:41 AM
Last Post: jamesmknox
  2-way paging with no indication on phone nolto 1 2,137 05-11-2023 11:20 PM
Last Post: Yisroel_MongoTEL
  T57W - Using the Phone Directory bill@wesimplifyit.com 0 1,317 04-14-2023 12:41 AM
Last Post: bill@wesimplifyit.com
  W70B - 3CX phone book is not displayed completely ChrisGER 1 5,135 03-19-2023 07:31 PM
Last Post: thomas32
Question 3CX / Yealink passthrough VLAN issue (when phone is rebooted) maindriver 4 12,266 03-24-2022 10:25 PM
Last Post: maindriver
  Passing only LDAP traffic through OPENVPN Commensus 0 2,265 02-23-2022 09:47 PM
Last Post: Commensus
  Configuring OPENVPN with Yealink Commensus 0 2,707 02-23-2022 09:45 PM
Last Post: Commensus
  Limit maximum of active calls per phone elastalink 5 15,675 09-09-2021 03:52 AM
Last Post: kapetrosyan
  Read specific variable from phone configuration saivo 0 3,662 06-13-2021 05:23 PM
Last Post: saivo
  DHCP not working on T26P when OpenVPN is enabled. LandonL 11 37,059 05-12-2021 10:46 AM
Last Post: 1sae

Forum Jump:

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

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