Jingles, I think adding two servers will allow the client to use the second one if the first one isn't working.
Dmitriy,
I am reviewing their client config file they don't specify a digest algorithm. The provide the following:
client
dev tun
proto udp
remote [REPLACE WITH SERVER NAME] 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ns-cert-type server
cipher bf-cbc
comp-lzo
verb 3
mute 20
ca ca.crt
mssfix 1300
key CN1.key
cert CN2.crt
#tls-auth ta.key 1
Since I am using pfSense. I don't need to specify the path for the files since pFSense allows me to put the certs in the certificate authority and load the tls key in the GUI. Right?
I changed the verbosity to 4 and got this:
Jan 20 18:19:21 openvpn[84390]: real_hash_size = 256
Jan 20 18:19:21 openvpn[84390]: virtual_hash_size = 256
Jan 20 18:19:21 openvpn[84390]: client_connect_script = '[UNDEF]'
Jan 20 18:19:21 openvpn[84390]: learn_address_script = '[UNDEF]'
Jan 20 18:19:21 openvpn[84390]: client_disconnect_script = '[UNDEF]'
Jan 20 18:19:21 openvpn[84390]: client_config_dir = '[UNDEF]'
Jan 20 18:19:21 openvpn[84390]: ccd_exclusive = DISABLED
Jan 20 18:19:21 openvpn[84390]: tmp_dir = '/tmp'
Jan 20 18:19:21 openvpn[84390]: push_ifconfig_defined = DISABLED
Jan 20 18:19:21 openvpn[84390]: push_ifconfig_local = 0.0.0.0
Jan 20 18:19:21 openvpn[84390]: push_ifconfig_remote_netmask = 0.0.0.0
Jan 20 18:19:21 openvpn[84390]: push_ifconfig_ipv6_defined = DISABLED
Jan 20 18:19:21 openvpn[84390]: push_ifconfig_ipv6_local = ::/0
Jan 20 18:19:21 openvpn[84390]: push_ifconfig_ipv6_remote = ::
Jan 20 18:19:21 openvpn[84390]: enable_c2c = DISABLED
Jan 20 18:19:21 openvpn[84390]: duplicate_cn = DISABLED
Jan 20 18:19:21 openvpn[84390]: cf_max = 0
Jan 20 18:19:21 openvpn[84390]: cf_per = 0
Jan 20 18:19:21 openvpn[84390]: max_clients = 1024
Jan 20 18:19:21 openvpn[84390]: max_routes_per_client = 256
Jan 20 18:19:21 openvpn[84390]: auth_user_pass_verify_script = '[UNDEF]'
Jan 20 18:19:21 openvpn[84390]: auth_user_pass_verify_script_via_file = DISABLED
Jan 20 18:19:21 openvpn[84390]: port_share_host = '[UNDEF]'
Jan 20 18:19:21 openvpn[84390]: port_share_port = 0
Jan 20 18:19:21 openvpn[84390]: client = ENABLED
Jan 20 18:19:21 openvpn[84390]: pull = ENABLED
Jan 20 18:19:21 openvpn[84390]: auth_user_pass_file = '[UNDEF]'
Jan 20 18:19:21 openvpn[84390]: OpenVPN 2.3.3 amd64-portbld-freebsd8.3 [SSL (OpenSSL)] [LZO] [MH] [IPv6] built on Aug 15 2014
Jan 20 18:19:21 openvpn[84390]: MANAGEMENT: unix domain socket listening on /var/etc/openvpn/client1.sock
Jan 20 18:19:21 openvpn[84390]: WARNING: using –pull/--client and --ifconfig together is probably not what you want
Jan 20 18:19:21 openvpn[84390]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
Jan 20 18:19:21 openvpn[84390]: Control Channel Authentication: using '/var/etc/openvpn/client1.tls-auth' as a OpenVPN static key file
Jan 20 18:19:21 openvpn[84390]: Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Jan 20 18:19:21 openvpn[84390]: Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Jan 20 18:19:21 openvpn[84390]: LZO compression initialized
Jan 20 18:19:21 openvpn[84390]: Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Jan 20 18:19:21 openvpn[84390]: Socket Buffers: R=[42080->65536] S=[57344->65536]
Jan 20 18:19:21 openvpn[84390]: Data Channel MTU parms [ L:1542 D:1300 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Jan 20 18:19:21 openvpn[84390]: Local Options String: 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 1,cipher BF-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-client'
Jan 20 18:19:21 openvpn[84390]: Expected Remote Options String: 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 0,cipher BF-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-server'
Jan 20 18:19:21 openvpn[84390]: Local Options hash (VER=V4): '504e774e'
Jan 20 18:19:21 openvpn[84390]: Expected Remote Options hash (VER=V4): '14168603'
Jan 20 18:19:21 openvpn[84425]: UDPv4 link local (bound): [AF_INET]XXX.XXX.1.222
Jan 20 18:19:21 openvpn[84425]: UDPv4 link remote: [AF_INET]XXX.XXX.111.111:1194
Jan 20 18:19:21 openvpn[84425]: TLS: Initial packet from [AF_INET]XXX.XXX.111.111:1194, sid=2dbd86cf 06dd0388
Jan 20 18:19:21 openvpn[84425]: TLS Error: cannot locate HMAC in incoming packet from [AF_INET]XXX.XXX.111.111:1194
Jan 20 18:19:23 openvpn[84425]: TLS: Initial packet from [AF_INET]XXX.XXX.111.111:1194, sid=2dbd86cf 06dd0388
Jan 20 18:19:23 openvpn[84425]: TLS Error: cannot locate HMAC in incoming packet from [AF_INET]XXX.XXX.111.111:1194
Jan 20 18:19:27 openvpn[84425]: TLS: Initial packet from [AF_INET]XXX.XXX.111.111:1194, sid=2dbd86cf 06dd0388
Jan 20 18:19:27 openvpn[84425]: TLS Error: cannot locate HMAC in incoming packet from [AF_INET]XXX.XXX.111.111:1194
The only places I think may be wrong are the bolded.
Thanks for any help. Also, when posting what info should I take out or clean. Just the IP addresses?