[Ferm] ferm @if condition
Kiss Gabor (Bitman)
kissg at ssg.ki.iif.hu
Mon Jan 6 21:12:33 CET 2014
> > proto icmp @subchain "icmp" {
> > ACCEPT icmp-type $ICMP_COMMON;
> > @if @eq($DOMAIN, ip) {
> > ACCEPT icmp-type $ICMP_V4;
> > }
> > @if @eq($DOMAIN, ip6) {
> > ACCEPT icmp-type $ICMP_V6;
> > }
> > }
> Thanks, that doesn't get what I'm after though. It tries to apply protocol
> icmp to the ip6 domain which is invalid, it must be ipv6-icmp (or icmpv6 as a
"tries"? :-o
It works for me.
What version do you have?
My Ferm 2.1 simply accept "icmp" in domain ip6 too.
g
More information about the Ferm
mailing list