[Openswan Users] leftsubnets & rightsubnets

Fangtu Qiu qiu at jhu.edu
Mon Oct 31 10:26:53 EDT 2011


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.

Thanks!

Fred



More information about the Users mailing list