tommy2684
Hello,
I was wondering if you someone could give me a few pointers on this OpenVPN issue. I am able to establish a VPN between the client and the server and they are able to ping each other via the VPN IPs. On the server side firewall, I added a static route of: 10.8.0.0 mask 255.255.255.0 10.10.1.15. I also enabled IP Routing the on server via a registry edit.
My goal is to use 2 windows server, one at each location active as the VPN gateways.
I added static routes on both the client and server as follows:
Server Network: 10.10.1.0 /24
Server LAN IP: 10.10.1.15
Server VPN IP: 10.8.0.1
Client Network: 192.168.1.0 /24
Client LAN IP: 192.168.1.5
Client VPN IP: 10.8.0.2
ADDED ON SERVER: route add 192.168.1.0 mask 255.255.255.0 10.8.0.1
ADDED ON CLIENT: route add 10.10.1.0 mask 255.255.255.0 10.8.0.2
Here is the server config files:
dev tun
ifconfig 10.8.0.1 10.8.0.2
secret static.key
comp-lzo
keepalive 10 60
ping-timer-rem
persist-tun
persist-key
Here is the client config
remote remote.scalicinet.com
dev tun
ifconfig 10.8.0.2 10.8.0.1
secret static.key
comp-lzo
keepalive 10 60
ping-timer-rem
persist-tun
persist-key
What could be the problem?
maikcat
hi there,
try this:
ADDED ON SERVER: route add 192.168.1.0 mask 255.255.255.0 10.8.0.2
ADDED ON CLIENT: route add 10.10.1.0 mask 255.255.255.0 10.8.0.1
(changed the last field)
also
ipforwarding must be enabled on both nodes.
Michael
tommy2684
I tried your suggestions and still no luck. I am not able ping the LAN subnets from either the client or server. IPForward is enabled on both servers.
Any other suggestions?
maikcat
if you ping from openvpn client the lan ip of the server,is it responds?
the pcs inside your lans,what gateway they have?
Michael.
ps: the above scenario can be easily accomplished if you use certs and ccd files
to be honest i never set it up the way you do..