How to add rule with pfctl...

Agus agus.262 at gmail.com
Sat Sep 15 14:18:18 PDT 2007


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


More information about the freebsd-questions mailing list