jarmar
I am trying to setup a VPN that will allow me to connect to an office network. The office net consists of a Windows 2008R2 server and several Win7 workstations. I have OpenVPN installed on a Win7 in the office as well as my laptop using Win7. I have it working so I can access the office Win7 machine but I am unable to reach the server. On the office Win7 machine I started the service "routinig and remote access" and I am able to ping both the VPN IP (10.8.0.1) address as well as the office network IP address(192.168.21.29) from my laptop over the VPN but not the server.
Office network 192.168.21.0/24
Have port forwarding set the office router.
Server config file:
port 1257
proto udp
dev tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\server.crt"
key "C:\\Program Files\\OpenVPN\\config\\server.key" # This file should be kept secret
dh "C:\\Program Files\\OpenVPN\\config\\dh2048.pem"
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist "C:\\Program Files\\OpenVPN\\config\\ipp.txt"
push "route 192.168.21.0 255.255.255.0"
keepalive 10 120
tls-auth "C:\\Program Files\\OpenVPN\\config\ta.key" 0 # This file is secret
comp-lzo
max-clients 3
persist-key
persist-tun
Client config file:
client
dev tun
proto udp
remote a.b.0.104 1257
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\laptop.crt"
key "C:\\Program Files\\OpenVPN\\config\\laptop.key"
tls-auth "C:\\Program Files\\OpenVPN\\config\\ta.key" 1
comp-lzo
verb 3