Client can ping server, but not 8.8.8.8

Scripts to manage certificates or generate config files

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
LucreGrey
OpenVpn Newbie
Posts: 1
Joined: Wed Jun 09, 2021 8:50 pm

Client can ping server, but not 8.8.8.8

Post by LucreGrey » Wed Jun 09, 2021 8:55 pm

Hey sorry to bother, but I've been working on this for a few days and can't get it to work. First time setting up openvpn ever, so bear with my lack of expertise.

When running tracert on the client it can get to the server at 10.8.0.1, but no futher. I do have ip forwarding enabled on the server in HKLM, firewall is shut off.
The client is a laptop running on wifi only, and it can see shares and ping the server but nothing else.
Any help would be hugely appreciated!

--Server config:

port 1194
proto udp4
dev tun
dev-node OpenVPN
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\server.crt"
key "C:\\Program Files\\OpenVPN\\config\\server.key"
dh "C:\\Program Files\\OpenVPN\\config\\dh.pem"
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist "C:\\Program Files\\OpenVPN\\log\\ipp.txt" 5
push "route 10.8.0.0 255.255.255.0"
push "redirect-gateway autolocal def1"
push "block-outside-dns"
client-to-client
keepalive 10 120
cipher AES-256-GCM
persist-key
persist-tun
status openvpn-status.log
verb 5
explicit-exit-notify 1


--Client config:

client
dev tun
proto udp4
remote SERVERIP 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\Lucre.crt"
key "C:\\Program Files\\OpenVPN\\config\\Lucre.key"
remote-cert-tls server
cipher AES-256-GCM
verb 3

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Client can ping server, but not 8.8.8.8

Post by TinCanTech » Wed Jun 09, 2021 9:43 pm

Try reading one of bebops examples here:
viewforum.php?f=7

Post Reply