[Ferm] one target for multiple rules

Marc Haber mh+ferm at zugschlus.de
Fri Mar 4 10:24:54 CET 2011


On Fri, Mar 04, 2011 at 09:15:51AM +0100, Max Kellermann wrote:
> If you need general specifies, you need to write it before the curly
> braces, that works around the ferm syntax limitation:
> 
>     ACCEPT {
>       daddr $target1 proto tcp dport (list1t);
>       daddr $target1 proto udp dport (list1u);
>       daddr $target2 proto tcp dport (list2t);
>       daddr $target2 proto udp dport (list2u);
>     }

Good point. Thanks!

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190


More information about the Ferm mailing list