Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Sep 2007 18:18:17 -0300
From:      Agus <agus.262@gmail.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   How to add rule with pfctl...
Message-ID:  <fda61bb50709151418r61b0e0b4rd889b517b954fae9@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi list,

I am trying to figure out how to add a firewall rule with pfctl...
This is what i'm trying to do...

I've got SEC that matches certain pattern and takes the IP from that and
want to trigger a firewall rule to block that IP....
Then after a couple of hours SEC will trigger the command to un-block the
IP...
So what i need is the command to block an IP address from command line, not
touching any pf.conf....

I've done it with iptables but i can't get it with pf.....Hope u understand
what i am trying to say...

Thanks and have a nice weekend...
Agustin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fda61bb50709151418r61b0e0b4rd889b517b954fae9>