I have a CentOS6 VPS, I've installed all the packages, made client certificates, and made config files. But it has some problems:
When I supply a client certificate/key through the client config file, it will not connect. (Same when I remove auth-user-pass). However, if I have auth-user-pass and just the "ca" parameter, it will attempt to connect but output a TLS error.
Client config:
client
dev tun
proto tcp #- protocol
remote <IP> 1194 #- SERVER IP and OPENVPN Port
resolv-retry infinite
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
ca ca.crt
cert Chickendipepr.crt
key Chickendipper.key
auth-user-pass
comp-lzo
verb 3
Server config:
local <IP>
port 1194
proto tcp
dev tun
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
ca /etc/openvpn/2.0/keys/ca.crt
cert /etc/openvpn/2.0/keys/server.crt
key /etc/openvpn/2.0/keys/server.key
dh /etc/openvpn/2.0/keys/dh2048.pem
plugin /usr/lib64/openvpn/plugins/openvpn-plugin-auth-pam.so /etc/pam.d/login
client-cert-not-required
username-as-common-name
server 1.2.3.0 255.255.255.0
push "redirect-gateway def1"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 4.2.2.1"
keepalive 5 30
comp-lzo
persist-key
persist-tun
verb 3
Any help would be greatly appreciated.
Thanks!