Office:
Windows Server 2012 R2 (Server)
IP 192.168.2.1 255.255.255.0
VPN 10.8.0.1 255.255.255.0
Home: Windows 7 (Client)
IP: 192.168.0.101 255.255.255.0
VPN: 10.8.0.6 255.255.255.0
At the moment, pings only take place on the 10.8.0.0 network
I can't get from the client to the local network behind the server, and vice versa.
I ask for help, I am setting up for the first time.
server.ovpn
Code: Select all
port 443
proto udp
dev tun
dev-node QYZYLJAR
dh C:\\OpenVPN\\ssl\\dh2048.pem
ca C:\\OpenVPN\\ssl\\ca.crt
cert C:\\OpenVPN\\ssl\\QYZYLJAR.crt
key C:\\OpenVPN\\ssl\\QYZYLJAR.key
server 10.8.0.0 255.255.255.0
push "route 10.8.0.0 255.255.255.0"
;push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
max-clients 32
keepalive 10 120
client-to-client
comp-lzo
persist-key
persist-tun
cipher AES-256-CBC
status C:\\OpenVPN\\log\\openvpn-status.log
log C:\\OpenVPN\\log\\openvpn.log
verb 4
mute 20
route-delay 5
route-method exe
route 192.168.0.0 255.255.255.0
Code: Select all
client
nobind
remote MY_EXTERNAL_IP 443
proto udp
dev tun
comp-lzo
ca ca.crt
cert vpn-client.crt
key vpn-client.key
float
cipher AES-256-CBC
keepalive 10 120
persist-key
persist-tun
verb 3
remote-cert-tls server
route-delay 5
route-method exe
route 192.168.2.0 255.255.255.0