[Openswan Users] Routing between two networks via one point

Willie Gillespie wgillespie+openswan at es2eng.com
Thu Jun 30 12:56:45 EDT 2011


On 6/30/2011 1:53 AM, Sergey V. Stenkin wrote:
>
>
> В Срд, 29/06/2011 в 21:33 +0400, Gennady Kovalev пишет:
>> Hello,
>>
>> I have to diffirent networks (A, B) behind nat, and one server with
>> public ip address (C). Two networks (A, B) set up ipsec with tunnel mode
>> to server (C).
>>
>> I want to set up routing between A and B.
>>
>> I think openswan did't provide virtual interface and I can't setup
>> routing, but I want to ask may be exist some solution?
> openswan provide virtual interface ipsecN in KLIPS mode. And you can use
> routing on ipsec interfaces.

You can also route using NETKEY.  Just add your routes like normal 
between the interfaces that Openswan will use.


More information about the Users mailing list