server
port xxxx
proto udp
dev tun
server 10.0.0.0 255.255.255.0 #you may choose any subnet. 10.0.0.x is used for this example.
ca ca.crt #certs are optional. you may choose to go with keys or passwords instead.
cert server.crt
key server.key
dh dh1024.pem
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
#the following commands are optional
keepalive 10 120
comp-lzo
persist-key
persist-tun
verb 3
#last updated May 29, 2011
#source : https://forums.openvpn.net/topic7806.html
Judging by the timestamp, I think this server log was generated when the ipad was trying to reach the server
Sat Apr 26 14:42:54 2014 xx.xx.xx.xx:61957 TLS: Initial packet from [AF_INET]xx.xx.xx.xx:61957, sid=0112ed34 f6afdf1c
Sat Apr 26 14:42:55 2014 xx.xx.xx.xx:61957 VERIFY OK: depth=1, C=US, ST=CA, L=SanFrancisco, O=OpenVPN, OU=changeme, CN=openVPN-ca, name=changeme, emailAddress=mail@host.domain
Sat Apr 26 14:42:55 2014 xx.xx.xx.xx:61957 VERIFY OK: depth=0, C=US, ST=CA, L=SanFrancisco, O=OpenVPN, OU=changeme, CN=[color=#FF0000]ipad[/color], name=changeme, emailAddress=mail@host.domain
Sat Apr 26 14:42:58 2014 xx.xx.xx.xx:53375 TLS: Initial packet from [AF_INET]xx.xx.xx.xx:53375, sid=f805f39c e8ce6d37
Sat Apr 26 14:43:55 2014 xx.xx.xx.xx:61957 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sat Apr 26 14:43:55 2014 xx.xx.xx.xx:61957 TLS Error: TLS handshake failed
Sat Apr 26 14:43:55 2014 xx.xx.xx.xx:61957 SIGUSR1[soft,tls-error] received, client-instance restarting
Sat Apr 26 14:43:58 2014 xx.xx.xx.xx:53375 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sat Apr 26 14:43:58 2014 xx.xx.xx.xx:53375 TLS Error: TLS handshake failed
Sat Apr 26 14:43:58 2014 xx.xx.xx.xx:53375 SIGUSR1[soft,tls-error] received, client-instance restarting