local 192.168.0.200 dev tun proto tcp port 1194 ca /etc/openvpn/keys/ca.key.pem cert /etc/openvpn/keys/server.cert.pem key /etc/openvpn/keys/server.key.pem dh /etc/openvpn/keys/dh2048.pem server 10.8.0.0 255.255.255.0 # server and remote endpoints ifconfig 10.8.0.1 10.8.0.2 # Add route to Client routing table for the OpenVPN Server push "route 10.8.0.1 255.255.255.0" # Add route to the Client routing table for the OpenVPN Subnet push "route 10.8.0.0 255.255.255.0" # Your local subnet push "route 192.168.0.0 255.255.255.0" # Set primary domain name server access to the SOHO Router # If your router does not do DNS, you can use Google DNS 8.8.8.8 push "dhcp-option DNS 192.168.0.50" push "dhcp-option DOMAIN AcademicDabbling.Com" # Override the Client default gateway by using 0.0.0.0/1 and # 128.0.0.0/1 rather than 0.0.0.0/0. This has the benefit of # overriding but not wiping out the original default gateway. push "redirect-gateway defl" client-to-client duplicate-cn keepalive 10 120 tls-auth /etc/openvpn/keys/ta.key 0 cipher AES-256-CBC comp-lzo user nobody group nobody persist-key persist-tun status /var/log/openvpn-status.log 20 log /var/log/openvpn.log verb 1