Code: Select all
client
auth-nocache
auth-user-pass
#dev tap
dev tun
;connect_retry_max = 10
;dev-node MyTap
;proto tcp
proto udp
;remote my-server-1 1194
;remote my-server-2 1194
;remote ***.***.*****.*** 1194
remote ******.*****.*****.*** 1194
;remote-random
resolv-retry infinite
nobind
;user nobody
;group nobody
persist-key
persist-tun
;http-proxy-retry # retry on connection failures
;http-proxy [proxy server] [proxy port #]
;mute-replay-warnings
ca *****.***
remote-cert-tls server
;cert client.crt
;key client.key
;ns-cert-type server
;tls-auth ta.key 1
;cipher x
;comp-lzo
script-security 3
# Set log file verbosity.
verb 3
# Silence repeating messages
;mute 20
I tried using a timeout param I saw in one post, but when I put it into the script, OpenVpn doesn't work at all. When I double-click on the icon, it immediately says "Failed" (plus something else that I can't remember right now).
I would appreciate any help.
thanks