[Openswan Users] Does "leftsubnet" support IP range format?

Binand Sethumadhavan binand at gmx.net
Sat Aug 3 12:57:01 UTC 2013


On 3 August 2013 05:13, Yang Hsiung <yhsiung at zyxel.com> wrote:
> leftsubnet=192.168.0.1-192.168.0.100
>
> If not, is there an alternative approach to configure the above example?

Well, this is a bit convoluted but this set of leftsubnets:

192.168.0.1/32
192.168.0.2/31
192.168.0.4/30
192.168.0.8/29
192.168.0.16/28
192.168.0.32/27
192.168.0.64/27
192.168.0.96/30
192.168.0.100/32

matches exactly 192.168.0.1-192.168.0.100.

Binand


More information about the Users mailing list