[deleted]
Client config:
client
dev tun
proto udp
#proto tcp
#remote-cert-tls server
#remote 192.168.2.106 7874
remote remoteserver
#remote x.x.x.x NNNNN
persist-key
persist-tun
#key /etc/openvpn/vct-off-lap8.key
#cert /etc/openvpn/vct-off-lap8.crt
key /etc/openvpn/cobalt.key
cert /etc/openvpn/cobalt.crt
ca /etc/openvpn/ca.crt
#verb 6
#key /etc/openvpn/keys-2/client2.key
#ca /etc/openvpn/keys-2/ca.crt
#cert /etc/openvpn/keys-2/client.crt
comp-lzo
auth none
verb 4
server config:
Running Tomato with basic config over port 1194/udp.
Ubuntu client is behind a firewall which is what is suspected to be the culprit.
I have using no authentication on the server, but when the client tries to connect it displays this error in the logs:
auth.warn login[3914]: invalid password for 'UNKNOWN' on 'pts/0'
I can connect to the OpenVPN server from two other clients with similiar configs, but they are behind different networks.
Rebooted all devices.
Mon Oct 3 05:50:59 2016 us=986241 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Mon Oct 3 05:50:59 2016 us=986343 TLS Error: TLS handshake failed
Mon Oct 3 05:50:59 2016 us=986624 TCP/UDP: Closing socket
This error is reported after trying to connect.
[deleted]
FIXED.
Turns out an old rule on their KERIO Firewall that allowed outgoing port 1194/tcp 1194/udp was causing authentication to fail.
Since I was able to connect from other locations, it was clear that the firewall was blocking.
I disabled the outgoing rules and it works now.