Hi. I have some problems with pf. It is not filtering anything!
Basically what I've done:
in /boot/loader.conf:
in /etc/rc.conf:
I added this to /etc/pf.conf:
I have installed fail2ban, but at this point I don't see it parsing anything like /var/log/auth.log. Tried logging int xxxx times with wrong users/pass but nothing.
In any case I added that ip 192.168.2.60 with
Still I can do anything I want from 192.168.2.60.
I even tried a
in pf.conf and nothing gets filtered.
Any tips? Cause I used pf a lot on FreeBSD 7 and it worked like a charm.
Basically what I've done:
in /boot/loader.conf:
Code:
pf_load="YES"
pflog_load="YES"
Code:
pf_enable="YES"
pflog_enable="YES"
pf_rules="/etc/pf.conf"
pflog_enable="YES"
pflog_logfile="/var/log/pflog"
Code:
ext_if="em0"
table <fail2ban> persist "/etc/pf.table.fail2ban"
block in quick on $ext_if from <fail2ban> to any
I have installed fail2ban, but at this point I don't see it parsing anything like /var/log/auth.log. Tried logging int xxxx times with wrong users/pass but nothing.
In any case I added that ip 192.168.2.60 with
Code:
smtpgw# pfctl -t fail2ban -T add 192.168.2.60
No ALTQ support in kernel
ALTQ related functions disabled
1/1 addresses added.
I even tried a
Code:
block in all
Any tips? Cause I used pf a lot on FreeBSD 7 and it worked like a charm.