Any ideas why this rule won't parse?
ipfw add 10 deny ip from \{ not 127.0.0.1 and not 10.12.34.0/24 \} to any 53 out xmit wan0
ipfw doesn't like and and says: ipfw: missing ")"
I've tried other variants, for example, putting the not in front of the brace expression, putting the two IPs in a table and then saying not table(xyzzy)
and nothing will work.
Is there a way to express this with ipfw?
and
inside braces is not valid syntax. Placingnot
in front of braces is not valid syntax. However, placingnot
in front of atable
declaration should be valid.and
, but the manual only mentions usingor
.