--- On Mon, 9/17/12, Chris Buechler <[email protected]> wrote:

> > Can I specify an IP address range in firewall rules or
> alias?
> You can put a range in the network alias and it auto-expands
> to the
> proper CIDR range(s). Read the text description on that
> page.

Thanks!
It does work OK from the web configurator.
However, I need to do a massive import of alias and firewall rules via xml.
If I define the following in the xml:

<aliases>
        <alias>
                <name>WHATEVER</name>
                <address>10.215.144.1-10.215.148.33</address>
                <descr><![CDATA[this is a test]]></descr>
                <type>host</type>
        </alias>
</aliases>

and try to import it, there's no error message but if I look at the imported 
alias in the web UI I can see that it didn't auto-expand to the CIDR ranges.

Is there a way to auto-expand after import? (maybe from the shell?)

Anyway, it's not such a big deal because I'm generating the xml file myself so 
I can actually do the conversion/expansion myself prior to importing.

Vieri

_______________________________________________
List mailing list
[email protected]
http://lists.pfsense.org/mailman/listinfo/list

Reply via email to