Recently set up an OpenVPN server and have been having trouble connecting to the internet from the client. The server itself can connect to the internet just fine.
I've followed
this guide exactly and read through the HowTo a bit.
Server config
port 1194
proto udp
dev-node MyTap
server 192.168.137.0 255.255.255.0
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 208.67.220.220"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
Client config
client
dev tun
dev-node MyTap #Name of your TAP network interface
proto udp #switch to tcp if you wish to use a tcp connection, needs to match server. udp gives better performance
remote 192.168.1.101 1194 #change port as you see fit, needs to match server
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client1.crt
key client1.key
ns-cert-type server
comp-lzo #compression for better performance. Disable if your server isn't powerful enough. Needs to be included in both server and client configs if you use it.
verb 3
explicit-exit-notify 2
ping 10
ping-restart 60
;register-dns #uncomment this if you you run into dns issues
route-method exe
route-delay 2
Gateway: 192.168.1.1
Server: 192.168.1.101
Client: 192.168.1.100
Using tracert it doesn't seem to get past 192.168.137.1
I haven't used OpenVPN before or know much about networking so please eli5.