[Openswan Users] VPN and a third remote gateway, possible?
i4 Dan Scannell
daniels at i4technologies.net
Wed Sep 1 22:12:07 CEST 2004
Hi,
I've been playing around with Openswan between offices, works great.
However, at OfficeOne I have a separate router which connects a regional
centre, OfficeTwo, via a leaseline on a separate network address. Can I
access this from Office3 via the VPN?
BTW, I cannot connect to Office2 (through a VPN) directly from Office3.
Office2 <= Leaseline => Office1 <= VPN => Office3
192.168.2.x 1.0.0.0/8 192.168.1.x
Internet
Office2 / Office1 can ping each other
Office3 / Office1 can ping each other
Office2 / Office3 does not work, middle man is probably causing problems.
Should I specify another VPN tunnel between Office1 and Office3 to carry
192.168.2.x ? and pray it works?
I read somewhere, probably the FAQ, that tunnels only carry packets for the
network/subnet they've been set-up for. So the command I've been testing at
Office3 simply won't work.
route add -net 192.168.2.0 subnet 255.255.255.0 gw 1.1.1.207 -i ipsec0
or
route add -net 192.168.2.0 subnet 255.255.255.0 gw InternetIP -i ipsec0
Take about the blind leading the blind ;)
Kind regards,
Dan
P.S, I didn't select the 1.0.0.0 address range, the muppets who set-up the
IBM system did it.
More information about the Users
mailing list