Hi all,
I have read through the how-to document and done further research but cannot figure this out. I'm trying to set up OpenVPN on Windows Server 2008 but seem to be having some routing issues. Configuration pasted below but with the server running the following routes get added to the server. I'm not sure what 10.8.0.2 is?
10.8.0.0 255.255.255.0 On-link 10.8.0.1 50
10.8.0.0 255.255.255.0 10.8.0.2 10.8.0.1 30
The client connects in fine, gets an IP address but there is no communication between the client and the server. The following routes get added to the client. Again, not sure what 10.8.0.5 is, 10.8.0.6 is the IP assigned to the client:
10.8.0.0 255.255.255.0 10.8.0.5 10.8.0.6 30
10.8.0.4 255.255.255.252 On-link 10.8.0.6 286
10.8.0.6 255.255.255.255 On-link 10.8.0.6 286
10.8.0.7 255.255.255.255 On-link 10.8.0.6 286
Server config:
port 1194
proto udp
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 192.168.125.0 255.255.255.0"
push "dhcp-option DNS 192.168.125.50"
client-to-client
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
Client config:
client
dev tun
proto udp
remote OMITTED 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client1.crt
key client1.key
ns-cert-type server
comp-lzo
verb 3
The router on my server side has the following route:
S 10.8.0.0 [1/0] via 192.168.125.200
Thanks for any help.
Gregor