vi /etc//makeblacklist

Paste the code below, and save it.

#!/bin/sh

echo "#ADDRESS/SUBNET PROTOCOL PORT" > /tmp/
wget -q -O - http://feeds..org/.txt | awk --posix '/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.0\t/ { print $1 "/24";}' >> /tmp/blacklist
wget -q -O - http://www..org/drop/drop.lasso | awk --posix '/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\// { print $1;}' >> /tmp/blacklist
echo "#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE" >> /tmp/blacklist
mv /tmp/blacklist /etc/shorewall/blacklist

shorewall refresh &>/dev/null


run the script

sh /etc/shorewall/makeblacklist

It will generate the blacklist IP in /etc/shorewall/blacklist

You can type

cat /etc/shorewall/blacklist

to view those blocked IPs

Make sure you enable the blacklist in /etc/shorewall/shorewall.conf

vi /etc/shorewall/shorewall.conf

then change this line

BLACKLIST_DISPOSITION=DROP

service shorewall restart

Some people search for:

  • shorewall block ip
  • shorewall facebook
  • error/tmp_backup_directory_not_found
  • shorewall blacklist country
  • block https facebook shorewall
  • blacklist spammer ips shorewall
  • shorewall bloquear facebook
  • shorewall facebook https
  • bloquear facebook shorewall
  • moodle error/tmp_backup_directory_not_found
  • shorewall
  • shorewall block ip range blacklist
  • shorewall denegar facebook
  • shorewall bloquear facebook https
  • how to block facebook on shorewall
  • shorewall block ip range
  • tmp_backup_directory_not_found
  • how block facebook shorewall
  • put drop lasso to blacklist
  • shorewall bloquear facebook por ip
  • shorewall bloquear https facebook
  • shorewall block ip sets
  • shorewall blockip
  • shorewall blocklist
  • shorewall configure blacklist
  • url block https facebook shorewall
  • spamhaus drop shorewall
  • shorewall youtube
  • shorewall url block
  • shorewall spamhaus
  • shorewall reject facebook
  • shorewall malware blacklist
  • shorewall https block destination ip
  • shorewall example deny country
  • shorewall deny youtube
  • shorewall deny ip address
  • youtube shorewall
  • shorewall block facebook https
  • shorewall block countries
  • how to block facebook in shorewall
  • how can i block facebook access in shorewall firewall
  • dshield spamhaus ipset
  • country blocks ip para shorewall
  • bloquear facebook https shorewall
  • blok facebook using shorewall
  • blocklist country codes in shorewall
  • block ip shorewall
  • block ip address with shorewall
  • block facebook https shorewall
Tagged with:
 

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Dreamhost Coupon Code

Optimized by SEO Ultimate