I have a project with pi zero that need to connect to my openvpn server
something after a reboot , it unable to connect to the server (then I reboot it again - and it's connected OK)
there is no connection problems (other units are connected Ok , for a long time,)
is it something in the conf file ?
Code: Select all
client
dev tun
proto tcp
remote MyServer ServerPort
#resolv-retry infinite
nobind
#user nobody
#group nogroup
persist-key
persist-tun
route 192.168.200.0 255.255.255.0
# Path to your certificates (ca.crt, client.crt, and client.key)
ca /home/pi/Documents/CRT/ca.crt
cert /home/pi/Documents/CRT/client.crt
key /home/pi/Documents/CRT/client.key
remote-cert-tls server
cipher AES-128-CBC
auth SHA1
auth-user-pass /etc/openvpn/.secrets
#redirect-gateway def1
pull-filter ignore "redirect-gateway"
verb 3
so I maybe need to close the failed connections before try again
can this be the problem ? if so , how can I f fix this ?
Thanks,