[Openswan Users] routing question

Andreas Lüdtke andi.luedtke at gmx.de
Wed Jan 18 22:29:30 CET 2006


I have a working vpn connection between let's say 10.0.1.0/24 (my Openswan router) and
10.0.2.0/24 (company gateway). The company gateway is handling routes to other
destinations (also via vpn) i.e. 10.0.3.0/24.

My problem is now that I want to reach 10.0.3.0/24 via the company gateway 10.0.2.1 from
10.0.1.0. I tried to set a route to 10.0.3.0/24 via the "route" command. Obviously I must
have done something wrong with the route command because it's not working.

ipsec eroute gives me:
3	10.0.1.0/24		-> 10.0.2.0/24	=> tun0x1002 at 12.34.56.78

Now my question: is this the right way to achieve this or do I need to enter this route
via ipsec eroute or ipsec.conf? I would like see an additional route to 10.0.3.0/24 when I
run ipsec eroute...

Any help is appreciated

	Andreas



More information about the Users mailing list