IPFW3 problems with network lists
Matthias Play
matthias_play at gmx.net
Sun Jan 17 07:09:16 PST 2016
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
More information about the Users
mailing list