[Openswan Users] route to a second subnet behind the gate?

Walter Wickersham wwickersham at printinc.com
Tue Aug 23 13:45:29 CEST 2005


You mean something like
(presuming the remote net is 10.1.0.0/24 and the one you want to route through it is 10.1.10.0/24)

something like this _should_ work
ip route add 10.1.10.0/24 via 10.1.0.1


Just make sure you dont have anything overlapping, meaning if your LOCAL net is 10.1.10.0/24, you cant very well add a route to a remote net with the same IP's...

I'm pretty sure you can specify a left/right updown script in your openswan config to run this for you when you connect (although I'd do it by hand first, to make sure it has the desired effect)

-----
Walter Wickersham



-----Original Message-----
From: users-bounces at openswan.org [mailto:users-bounces at openswan.org]On
Behalf Of Foren
Sent: Tuesday, August 23, 2005 9:39 AM
To: users at openswan.org
Subject: [Openswan Users] route to a second subnet behind the gate?


hello users,

I have set up an Ipsec Ipsec tunnel from openswan 2.3.1 to 2.4.0rc1.

The subnet behind the gateway is accessible. this subnet is direct connected 
to the gateway. Now in our business we have another subnet.

Is it possible to automaticly add a second route when I establish the tunnel?

thx ben
_______________________________________________
Users mailing list
Users at openswan.org
http://lists.openswan.org/mailman/listinfo/users


More information about the Users mailing list