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:
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:
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