[Openswan Users] Connecting two ipsec tunnels

Paul Wouters paul at xelerance.com
Thu May 11 20:47:10 CEST 2006


On Thu, 11 May 2006, Jett, Nathan wrote:

> I have installed a linux router for my company with Openswan running on it.  I have successfully created tunnels to a remote office and to one of our customer's networks.  I need to allow the remote office to access the customer's network via my linux box.  The network current setup looks like:
>
>  +------------------+
>  | Customer Network |
>  +------------------+
>           |
>  +------------------+
>  | Customer Router  |
>  +------------------+
>           ||
>  +-----------------------+  +----------------------+  +-------------------+
>  | Local Openswan Server |==| Remote Office Router |--| Remote Office LAN |
>  +-----------------------+  +----------------------+  +-------------------+
>           |
>     +-----------+
>     | Local LAN |
>     +-----------+
>
> How do I route packets from the remote office LAN through my linux box to the customer's network?

Extend the tunnels to use rightsubnet= and leftsubnet= to match the networks you
are trying to connect.

Paul


More information about the Users mailing list