Hi:
I am trying to set up a Linksys E1200 with Tomato (v1.28 by Shibby) as an OpenVPN server. I have the server up and running but the guides I found were not totally clear on how I should configure my client so I am hoping that someone here can point me in the right direction.
Here's my current non-working client config:
client
dev tun21
proto udp
remote 200.100.200.30 1194 udp
remote-cert-tls server
resolv-retry infinite
nobind
persist-key
persist-tun
verb 4
route 192.168.88.0 255.255.255.0
<ca>
-----BEGIN CERTIFICATE-----
<snip>
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
<snip>
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN ENCRYPTED PRIVATE KEY-----
<snip>
-----END ENCRYPTED PRIVATE KEY-----
</key>
Here's the server.ovpn:
# Automatically generated configuration
daemon
server 10.8.0.0 255.255.255.0
proto udp
port 1194
dev tun21
keepalive 15 60
verb 3
push "route 192.168.17.0 255.255.255.0"
push "redirect-gateway def1"
ca ca.crt
dh dh.pem
cert server.crt
key server.key
status-version 2
status status
# Custom Configuration
And here's what I'm seeing in the logs.
Apr 22 10:46:02 RT-c0562721fa12 daemon.err openvpn[18423]: 200.100.200.8:54634 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Apr 22 10:46:02 RT-c0562721fa12 daemon.err openvpn[18423]: 200.100.200.8:54634 TLS Error: TLS handshake failed
Apr 22 10:46:02 RT-c0562721fa12 daemon.notice openvpn[18423]: 200.100.200.8:54634 SIGUSR1[soft,tls-error] received, client-instance restarting
Apr 22 10:46:02 RT-c0562721fa12 daemon.notice openvpn[18423]: 200.100.200.8:39788 TLS: Initial packet from [AF_INET]200.100.200.8:39788, sid=25f34cdc 845845e3
I have tried various permutations of tls-auth in the client config, without success. Any advice would be much appreciated!
Thanks,
Blobby