[Swan] left/rightsubnets option

Paul Wouters paul at nohats.ca
Mon Apr 23 22:29:09 UTC 2018


On Mon, 23 Apr 2018, Erik Andersson wrote:

> conn remote
> 	 ...
> 	 ...
>         right=10.48.28.81
>         rightid=10.48.28.81
> 	 rightsubnets=192.168.110.0/24,50.50.50.0/24
> 	          left=%any
> 	 ...
> 	 ...
>
> (have also tried rightsubnets={192.168.110.0/24 50.50.50.0/24})
>
> Yields the following error in the pluto.log file:
>
> Apr 23 12:42:48.546899: address family inconsistency in this/that connection
> Apr 23 12:42:48.546970: Failed to load connection "remote/1x1": attempt to 
> load incomplete connection

That's weird. Can you show the full connection?

> Not sure what I'm doing wrong. Is it possible to use the left/rightsubnets 
> option (multiple subnets) option when working with modecfg?

Unfortunately, that is only supported on the client side, not the server
side.

> Also, is the left/rightsubnets option available via whack?

Apparently not..... That's a bug. I will file a bug.

Paul


More information about the Swan mailing list