Results 1 to 1 of 1

Thread: Block IP's by Country

  1. #1
    Status
    Online
    Geosharing's Avatar
    GS Administrator
    Join Date
    May 2014
    Location
    -=UAE=-
    Interests
    CardSharing
    Posts
    1,889

    Block IP's by Country

    Credit to blackadder
    Tired of all those dynamic IP's from certain countries who cant take no for an answer & they have nothing to offer except being a pain in the butt trying to access your server once they know its location???

    Well I had to develop a script to deal with this nonsense which blocks IP's by country fed from ICAN database

    Unzip folder upload the script to your root directory

    chmod +x block.sh

    to start ./block.sh

    This script blocks Morrocco, Tunisia & Algeria. You can edit the script by getting the country abbreviations from:



    Remember when you reboot the server the rules are gone so do not forget to start the script after it reboots Or

    Open /etc/rc.local & place the following line in there

    /root/block.sh

    Enjoy
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 06-25-2017, 03:14 AM
  2. [DOWNLOAD] Block Tank Wars 2 Premium v2.2
    By eros10 in forum MOBILE'S WORLDS
    Replies: 0
    Last Post: 10-04-2016, 08:35 AM
  3. [DOWNLOAD] Block City Wars v5.1.4[Mod]
    By eros10 in forum MOBILE'S WORLDS
    Replies: 0
    Last Post: 10-01-2016, 02:02 AM
  4. Replies: 1
    Last Post: 10-27-2015, 03:53 AM
  5. Iptables country ban script!
    By Geosharing in forum Multics
    Replies: 2
    Last Post: 05-14-2014, 09:03 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
RSS RSS 2.0 XML MAP HTML TAGS

All posts written express the point of view of its owner, does not imply in any way the point of view of management forum.

petites annonces