<div dir="ltr">Hey guys<div><br></div><div>Back from my bike ride.  Ok heres my configs, if you could help me get them so they reconnect automagically should the vpn server go down I would be very greatful :)  Ive solved the networking crashing on the odroid using a new image of ubuntu 14.04</div>
<div><br></div><div>Heres my client config:</div><div><br></div><div><div><b>client</b></div><div><b>dev tap</b></div><div><b>proto udp</b></div><div><b><br></b></div><div><b>remote <a href="http://mydomain.co.uk">mydomain.co.uk</a> 11194</b></div>
<div><b>resolv-retry infinite</b></div><div><b>nobind</b></div><div><b><br></b></div><div><b>persist-key</b></div><div><b>persist-tun</b></div><div><b><br></b></div><div><b>ca /home/openvpn/ca.crt</b></div><div><b>cert /home/openvpn/odroid.crt</b></div>
<div><b>key /home/openvpn/odroid.key</b></div><div><b><br></b></div><div><b>comp-lzo</b></div><div><b>verb 3</b></div></div><div><br></div><div><br></div><div>Heres my server config</div><div><br></div><div><div><b>port 11194</b></div>
<div><b>proto udp</b></div><div><b>dev tap</b></div><div><b>ca privnet/ca.crt</b></div><div><b>cert privnet/server.crt</b></div><div><b>key privnet/server.key</b></div><div><b>dh privnet/dh2048.pem</b></div><div><b>server 192.168.200.0 255.255.255.0</b></div>
<div><b>push "redirect-gateway def1"</b></div><div><b>push "dhcp-option DOMAIN <a href="http://mydomain.co.uk">mydomain.co.uk</a>"</b></div><div><b>push "dhcp-option DNS 8.8.4.4"</b></div><div>
<b>ifconfig-pool-persist ipp.txt</b></div><div><b>client-config-dir ccd</b></div><div><b>route 192.168.1.0 255.255.255.0</b></div><div><b>route 192.168.0.1 255.255.255.0</b></div><div><b>client-to-client</b></div><div><b>push "route 192.168.1.0 255.255.255.0"</b></div>
<div><b>push "route 192.168.0.1 255.255.255.0"</b></div><div><b>keepalive 10 120</b></div><div><b>comp-lzo</b></div><div><b>persist-key</b></div><div><b>persist-tun</b></div><div><b>management 127.0.0.1 1066</b></div>
<div><b>status /tmp/openvpn-status.log</b></div><div><b>verb 3</b></div><div><b>up /etc/openvpn/routes.up</b></div><div><b>script-security 3</b></div></div><div><br></div><div><br></div><div>Cheers for your help</div><div>
<br></div><div>Andy</div></div>