[Openswan Users] leftsubnets & rightsubnets

Tuomo Soini tis at foobar.fi
Thu Oct 27 16:46:44 EDT 2011


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

-- 
Tuomo Soini <tis at foobar.fi>
Foobar Linux services
+358 40 5240030
Foobar Oy <http://foobar.fi/>


More information about the Users mailing list