Skip to main content

adding routes using more than one vpn tunnel

More
15 years 9 months ago #26773 by jp_tm2australia
Hi All,

im having some difficulty getting my vpns to route traffice correctly.

i have one ipcop server at the office, which runs a net-to-net openvpn connection to two other ipcop servers, enabling all local pc's at the office to talk to each of my two other servers.

the problem lies with the remote vpn, used to connect either the wirless laptops, or home pc's into the office network. They have full access to the local pc's and printers, and other pc's on that VPN, however NO ACCESS at all to the two other vpns.

office (192.168.50.x) <-net-to-net (10.111.0.0)-> 1st srvr, 10.1.8.0

office (192.168.50.x) <-net-to-net (10.112.0.0)-> 2nd srvr, 10.2.8.0

office (192.168.50.x) <-openvpn (10.0.8.0)->remote pc's

when the remote pc connects, i can ping the vpn tunnel on the office server (10.111 or 10.112) but not the pc's on their internal network, ie 10.1.8.4 or 10.2.8.1 etc.

the route to the green local 192.168.50 network is added with

route add 192.168.50.0 mask 255.255.255.0 10.0.8.5

automatically, but when i've tried adding routes like:

route add 10.1.8.0 mask 255.255.255.0 10.0.8.5

it either works, but can't actually ping it, or if i try using the other gateway (as the server sees it as 10.111 or 10.112) it tells me the network does not exist.

HELP!! please, of course :)

the purpose of this is to eliminate each pc requiring up to 4 different vpn connections, now they need none as the server controlls it all, however my remote pc's need to run only the one vpn to get access to everything at once, not one for the office, one for this server, one for that one etc etc

any help any one can offer me is very much appreciated

thanks in advance
Time to create page: 0.135 seconds