Hi,

I use a shell script to setup my ipfw3 firewall and want to define network lists to shorten my rule set. For that I used the approach described inside the example section on ipfw3 in 'man ipfw3' like the following:

        #!/bin/sh
        nets_allowed="{ 192.168.1.1 or 192.168.1.2 }"
        ipfw3 add allow log 1 ip in from ${nets_allowed} to 192.168.0.1

When I run this script I get the following error:

        ipfw3: hostname ``{'' unknown

Can you also reproduce this error?

Regards
Matthias

Reply via email to