[Openswan Users] leftsubnets & rightsubnets
Paul Wouters
paul at xelerance.com
Mon Oct 31 11:19:31 EDT 2011
On Mon, 31 Oct 2011, Fangtu Qiu wrote:
> On 10/27/2011 04:46 PM, Tuomo Soini wrote:
>> On Thu, 27 Oct 2011 16:24:51 -0400
>> Fangtu Qiu<qiu at jhu.edu> wrote:
>>
>>> Oh, didn't think about the "add" in your suggestion. I tried the
>>> command. Here is the output:
>>>
>>> # ipsec auto --add net
>>> 023 address family inconsistency in this/that connection
>>> 037 attempt to load incomplete connection
>>> #
>>>
>>> My connection config is the following:
>>>
>>> conn net
>>> type=tunnel
>>> left=172.16.0.1
>>> leftid=@router
>>> leftnexthop=172.16.0.2
>>> leftsubnets={ 192.168.0.0/24 172.16.0.0/24 }
>>> # rsakey AQPRNfYMr
>>> leftrsasigkey=...
>>> right=172.16.10.2
>>> rightid=@server1
>>> rightnexthop=172.16.10.1
>>> # rsakey AQPRNfYMr
>>> rightrsasigkey=...
>>> auto=add
>> Does this work if you add rightsubnet=172.16.10.2/32
>
> The connection works after I added the rightsubnet option.
I filed a bug report for that at: https://bugs.openswan.org/issues/1295
Paul
More information about the Users
mailing list