maxabbr
I can ping the server 10.8.0.1 from client but not the 192.168.10.0 subnet, including the server lan ip (192.168.10.119) even with the route to 192.168.10.0 added to client table.
I setup a new server under Windows Server 2012 using the follow configuration:
port 1194
proto udp
dev tun
ca "c:\\openvpn\\config\\ca.crt"
cert "c:\\openvpn\\config\\server.crt"
key "c:\\openvpn\\config\\server.key"
dh "c:\\openvpn\\config\\dh1024.pem"
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.10.0 255.255.255.0"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
The test client is a Windows 8 with this configs:
client
dev tun
proto udp
remote myserveruri 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca "c:\\openvpn\\config\\ca.crt"
cert "c:\\openvpn\\config\\max.crt"
key "c:\\openvpn\\config\\max.key"
ns-cert-type server
comp-lzo
verb 3
The client route table has:
192.168.10.0 255.255.255.0 10.8.0.5 10.8.0.6 30
maxabbr
Yes.
I think it's a route problem at my server but I can't find the problem. My setup has 3 main points:
- LAN Gateway (192.168.10.2) with route for 10.8.0.0/24 to 192.168.10.119
- VPN Server (192.168.10.119 / 10.8.0.1)
- VPN Client (10.8.0.6)
From VPN Client I can ping 10.8.0.1, 192.168.10.119 but not 192.168.10.2.
From VPN Server I can't ping 10.8.0.6.
From LAN Gateway I can ping 10.8.0.1 but not 10.8.0.6.