I have an OpenVPN config working on one of my RentPBX machines. I can log in using a Win7 laptop and pull up the PIAF web for the config (10.8.0.1).
I can't, however, log in with the Yealink T46G. The problem is likely either the client or server config files.
My client file (vpn.cnf) reads:
When building my .tar file, the vpn.cnf was in /etc/openvpn/client and the keys are in /etc/openvpn/client/keys. The .tar file was created, while in the client directory with the command:
tar -cvpf openvpn.tar *
So, I have a boo-boo somewhere, but I'm getting tunnel vision.
Andrew
My server.conf reads:
I can't, however, log in with the Yealink T46G. The problem is likely either the client or server config files.
My client file (vpn.cnf) reads:
Code:
client
persist-tun
persist-key
resolve-retry infinite
remote RENTPBXIP
nobind
port 1194
proto udp
dev tun
comp-lzo
verb 3
ca /config/openvpn/keys/ca.crt
cert /config/openvpn/keys/client.crt
key /config/openvpn/keys/client.key
When building my .tar file, the vpn.cnf was in /etc/openvpn/client and the keys are in /etc/openvpn/client/keys. The .tar file was created, while in the client directory with the command:
tar -cvpf openvpn.tar *
So, I have a boo-boo somewhere, but I'm getting tunnel vision.
Andrew
My server.conf reads:
Code:
local RENTPBXIP
port 1194
proto udp
dev tun
mode server
server 10.8.0.0 255.255.255.0
push "route 10.2.1.0 255.255.255.0"
push "dhcp-option DNS 10.2.1.1"
keepalive 20 60
client-to-client
duplicate-cn
comp-lzo
verb 3
ca ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key
dh /etc/openvpn/dh1024.pem
log-append /etc/openvpn/openvpn.log