Temporarily blocking ports

Anthony M. Rasat anthony.rasat at gmail.com
Sat Nov 29 12:22:51 PST 2008

Jos Chrispijn wrote:
>Can someone hint me how I can >block ports for let's say 30 minutes if 
>someone repeatedly tries to do a SSH >login?
>I use ipfw as firewall...

I think I saw ssh-ipfw section in jail.conf file of fail2ban application (http://www.fail2ban.org). I believe fail2ban might be the one you looking for.

But I'm sorry I'm using fail2ban in Linux (which is using netfilter's iptables firewall, not IPFW). I'm not sure it will work on FreeBSD and I don't have FreeBSD server lying around outside my VMware environment here, so I wish you good luck trying.



Anthony M. Rasat
Manager - Technical, Network and Support Division
PT. Jawa Pos National Network
Graha Pena Jawa Pos Group Building, 5th floor
Jln. Raya Kebayoran Lama 12, Jakarta Barat 12210
Phone 02132185562
Phone 081574217035
Fax 02153651465
Web http://www.jpnn.com

More information about the freebsd-questions mailing list