No access to LAN on Windows 10 server

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
spasmodic
OpenVpn Newbie
Posts: 1
Joined: Sat Jul 06, 2013 5:09 pm

No access to LAN on Windows 10 server

Post by spasmodic » Sun Oct 30, 2022 10:17 am

I've installed OpenVPN server v2.5.7-I602 on a Windows 10 machine. I can connect to it from a Windows 10 client, and access the internet when connected, but the client does not have visibility of resources on the LAN. My LAN is on the 192.168.1.* subnet. My router (and gateway) is at 192.168.1.1.
My client and server .ovpn files are below. I've tried both 10.20.30.0 and 192.168.1.0 in the "server" parameter of the server .ovpn, but neither allowed access to LAN resources to the VPN client.
Any idea how I can get LAN access for VPN clients?

Server OVPN:

Code: Select all

port 1194
proto udp
dev tun

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

server 192.168.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:

Code: Select all

client

dev tun

proto udp

remote mydomain.net 1194

resolv-retry infinite
nobind
persist-key
persist-tun

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

comp-lzo

verb 3

Post Reply