I am working in company with 4 branch offices. Network between this offices are held by our ISP (I presume they just use regular VPN tunnelling between routers) Networks look like 192.168.141.0/24; 192.168.142.0/24; 192.168.143.0/24; 192.168.144.0/24. I don't have access to routers, they are configured and managed by ISP but I can do services requests for anything.
What I have done so far:
I have my OpenVPN server in 192.168.144.0/24 that is working perfectly on my windows 7 machine (I am still in testing phase, later going to move it to Windows Server 2008). So I can access any resources anywhere in network 192.168.144.0/24. But as soon as I trying to access some thing on different networks it stop working. I tried to add different routes to server config but didn't worked.
Is it possible to sort it out some how?
Server config:
Code: Select all
## server.ovpn ##
local 192.168.144.89
port 1194
proto udp
mssfix 1400
push "dhcp-option DNS 192.168.144.10"
push "dhcp-option DNS 192.168.144.12"
dev tun
dev-node OpenVPNMain
ca ca.crt
cert cgp-itsa1.crt
key cgp-itsa1.key
dh dh1024.pem
ifconfig-pool-persist ipp.txt
push "route 192.168.144.0 255.255.255.0"
push "route 192.168.141.0 255.255.255.0"
#push "dhcp-option WINS 192.168.144.10"
push "dhcp-option DOMAIN domainp.com"
server 10.8.0.0 255.255.255.0
push "redirect-gateway def1"
keepalive 10 120
comp-lzo
max-clients 5
persist-key
persist-tun
status openvpn-status.log
verb 3
client config:
Code: Select all
## client.ovpn ##
client
dev tun
dev-node VPN
proto udp
remote xx.xx.xx.xx 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert test.crt
key test.key
ns-cert-type server
comp-lzo
verb 3
Thank you in advance!