OpenVPN client can not use the internet IP from openvpn server for internet access

Need help configuring your VPN? Just post here and you'll get that help.

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

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
piaakit
OpenVpn Newbie
Posts: 1
Joined: Wed Nov 15, 2023 4:18 pm

OpenVPN client can not use the internet IP from openvpn server for internet access

Post by piaakit » Mon Nov 20, 2023 2:22 pm

Dear All,

i'm new in Openvpn, and currently i installed openvpn on server 2019 std in routing mode, my openvpn client could connect to the server, but the client computer still accessing the internet locally whereas using the openvpn server IP for internet access, in the openvpn server side i have enabled
ICS and checked allow other network users to connect through this computer's internet connection - with "openVPN TAP-windows6" selected under home networking connection, and edited the registry "Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" - IPEnableRouter value from 0 to 1, but still no luck, any help would be appreicated


and below is the config file:

Server.ovpn

port 1194
proto udp
dev tun

ca ca.crt
cert server.crt
key server.key
dh dh.pem

server 10.0.1.0 255.255.255.0
ifconfig-pool-persist ipp.txt

keepalive 10 120

comp-lzo

persist-key
persist-tun

status openvpn-status.log

verb 3




Client.ovpn

client

dev tun

proto udp

remote openvpn ip 1194

resolv-retry infinite
nobind
persist-key
persist-tun

ca ca.crt
cert client01.crt
key client01.key

comp-lzo

verb 3


Keith

Post Reply