Results 1 to 4 of 4
  1. #1

    how to block an ip

    How can I block an ip serverwide? Can I just add it to apf?

    Thanks Kevin

  2. #2
    Join Date
    Sep 2006
    Phoenix, AZ
    You can deny ips entirely through APF with the -d flag. /locationofapf/apf -d ip optionalnote. This will block the ip immediately and add it to the deny_hosts file for APF to block it permantently.
    Last edited by mikexec; 09-13-2006 at 08:11 PM.

  3. #3
    thanks for the input
    Thanks, Kevin

  4. #4
    Join Date
    Oct 2002
    Manchester, UK
    iptables -I INPUT -s -j DROP
    Rob Greenwood
    RedHat Certified, Unix Consultant

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts