[Durham] Openvpn configs

Andrew Glass andrewglass3 at gmail.com
Sun Jul 27 10:52:05 UTC 2014


Hey guys

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

Heres my client config:

*client*
*dev tap*
*proto udp*

*remote mydomain.co.uk <http://mydomain.co.uk> 11194*
*resolv-retry infinite*
*nobind*

*persist-key*
*persist-tun*

*ca /home/openvpn/ca.crt*
*cert /home/openvpn/odroid.crt*
*key /home/openvpn/odroid.key*

*comp-lzo*
*verb 3*


Heres my server config

*port 11194*
*proto udp*
*dev tap*
*ca privnet/ca.crt*
*cert privnet/server.crt*
*key privnet/server.key*
*dh privnet/dh2048.pem*
*server 192.168.200.0 255.255.255.0*
*push "redirect-gateway def1"*
*push "dhcp-option DOMAIN mydomain.co.uk <http://mydomain.co.uk>"*
*push "dhcp-option DNS 8.8.4.4"*
*ifconfig-pool-persist ipp.txt*
*client-config-dir ccd*
*route 192.168.1.0 255.255.255.0*
*route 192.168.0.1 255.255.255.0*
*client-to-client*
*push "route 192.168.1.0 255.255.255.0"*
*push "route 192.168.0.1 255.255.255.0"*
*keepalive 10 120*
*comp-lzo*
*persist-key*
*persist-tun*
*management 127.0.0.1 1066*
*status /tmp/openvpn-status.log*
*verb 3*
*up /etc/openvpn/routes.up*
*script-security 3*


Cheers for your help

Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/durham/attachments/20140727/4c694173/attachment.html>


More information about the Durham mailing list