Page 1 of 1

VPN connect but NO INET HELP Please

Posted: Mon Mar 18, 2024 9:33 pm
by tytogsm
No VPN connected:
https://photos.app.goo.gl/x1NTNGrw8efP5w5U9

VPN connected. Green on server and client
https://photos.app.goo.gl/vxypQtFRLLrb8u25A

The client PC does not have internet access, the rest of the PCs, including the server, do have it.

Server Config

port 1194
proto udp4
dev tun

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\\dh2048.pem"

remote-cert-tls client

topology subnet
server 10.8.0.0 255.255.255.0

ifconfig-pool-persist ipp.txt
push "route 10.8.0.0 255.255.255.0"
# push "redirect-gateway"
push "redirect-gateway def1"
# push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 10 120

tls-auth ta.key 0 # This file is secret
cipher AES-256-CBC
persist-key
persist-tun
status openvpn-status.log
verb 3
explicit-exit-notify 1



Client

client
dev tun
proto udp4

remote IP.Pub.1 1194

resolv-retry infinite

nobind

persist-key
persist-tun

ca ca.crt
cert paloma.crt
key paloma.key

remote-cert-tls server

tls-auth ta.key 1

cipher AES-256-CBC

verb 3


Tests from Client:
ping 10.8.0.1 => ok
ping other => NOok
NO internet

Tests from server:
internet ok
ping 10.0.0.2 => ok

Please help me, I'm desperate, I haven't been able to get it for more tan a month.

thank you so much