hillng
Hi, I'm new to openVPN, and trying to use openVPN to connect a remote Windows 2008R2 server to office LAN. The connection is succeed and remote server get Ip 10.8.0.6 and Office server (Windows 2003) get IP 10.8.0.1. I can ping to each other of the 2 servers, but can't ping to other servers of office LAN.
The office internal IPs is 24.1.1.x(don't know why, but it was setup this scope). OpenVPN IP is 24.1.1.238, I can ping to this IP and also 10.8.0.1 from remote client, but not other internal IPs. Here's my server configuration, please help me out. Thanks in advance!
port 1194
proto tcp
dev tun
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 24.1.1.0 255.255.255.0"
push "route 10.8.0.0 255.255.255.0"
client-to-client
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
jmarcos.cano
that is because the "other" servers do not know the way back to your openvpn address. try setting a static ip route in your internal servers
hillng
Thanks for your hint.
May I know how I add the route on remote server based on my network?
hillng
I add on other internal servers this:
In DOS, "route add 10.8.0.0 Mask 255.255.255.0 24.1.1.2", 24.1.1.2 is the openvpn server local IP. seems not working. Any help? Thanks