Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-08, 01:27:56

Author Topic: how to block ip by country  (Read 3536 times)

0 Members and 1 Guest are viewing this topic.

Offline amudy17

  • Senior Member
  • *
  • Posts: 246
  • Karma: +0/-1
    • View Profile
    • Alamudy
how to block ip by country
« on: 2014-03-10, 04:05:38 »
how to block ip by country on kloxo-mr?
Free, Fast and Secure CP => Kloxo-MR
Daily News Update => Click here to see website!

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: how to block ip by country
« Reply #1 on: 2014-03-10, 04:38:55 »
Try add in 'Blocked IPs' like '111.222.*'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: how to block ip by country
« Reply #2 on: 2014-03-10, 10:36:14 »
Install CSF and block by country code
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline amudy17

  • Senior Member
  • *
  • Posts: 246
  • Karma: +0/-1
    • View Profile
    • Alamudy
Re: how to block ip by country
« Reply #3 on: 2014-03-10, 18:45:58 »
done... i have add CC_DENY on my CSF... cause my server is under attack from china user try to brute attack root ssh account...
Free, Fast and Secure CP => Kloxo-MR
Daily News Update => Click here to see website!

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: how to block ip by country
« Reply #4 on: 2014-03-11, 00:30:50 »
done... i have add CC_DENY on my CSF... cause my server is under attack from china user try to brute attack root ssh account...
In context ssh and ftp already protect by built-in lxguard. Port 80/433 protect by 'ban mechanism' by nginx/hiawatha.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline amudy17

  • Senior Member
  • *
  • Posts: 246
  • Karma: +0/-1
    • View Profile
    • Alamudy
Re: how to block ip by country
« Reply #5 on: 2014-03-11, 13:27:15 »
thank you this is my server is under attack, every day is there minimal 3 people try to hack me (china, rusia, USA)
Free, Fast and Secure CP => Kloxo-MR
Daily News Update => Click here to see website!

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: how to block ip by country
« Reply #6 on: 2014-03-11, 14:04:41 »
Where you found info about 'hack'?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Kloxo-DR

  • Senior Member
  • *
  • Posts: 239
  • Karma: +3/-9
    • View Profile
Re: how to block ip by country
« Reply #7 on: 2014-03-11, 19:07:45 »
Hi Mustafa,
Where you found info about 'hack'?.

In the csf, you see it under "View the last 1000 iptables log lines". It gives information of everyone who attacks.

Until you got the Qmailtoaster patch out on March 10, 2014, I found myself completely safe with csf. It did not allow the spammer to make any connection with spamdyke or qmail as I could ban his IPs.

@amudy17

There is a possibility to add in the host.deny file and block many IPs, just like Mustafa suggested.

I suggest that you do not use the host.deny file. It is not very efficient and above that it does not,, or did not, work accurately.

YOUR BEST OPTION IS csf and only csf, as you are already using it. You also know in csf where and how to do that. But NOT IN KLOXO!


Offline amudy17

  • Senior Member
  • *
  • Posts: 246
  • Karma: +0/-1
    • View Profile
    • Alamudy
Re: how to block ip by country
« Reply #8 on: 2014-03-12, 00:45:43 »
Where you found info about 'hack'?.

Every minutes, i receive email from my server about supicous and excercive also who is attack my server. it is use CSF for know who attack me.
Free, Fast and Secure CP => Kloxo-MR
Daily News Update => Click here to see website!

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: how to block ip by country
« Reply #9 on: 2014-03-12, 04:14:08 »
See 'lxguard' in panel to know who's try to attack your server via ssh and ftp.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: how to block ip by country
« Reply #10 on: 2014-03-12, 04:19:14 »
Since 1 Jan 2014, server for this forum tried to attack by 18715 times and all blocked successfully by lxguard.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline amudy17

  • Senior Member
  • *
  • Posts: 246
  • Karma: +0/-1
    • View Profile
    • Alamudy
Re: how to block ip by country
« Reply #11 on: 2014-03-12, 04:52:33 »
lxguard still not enough by me so i install CSF include LFD to protect my server
Free, Fast and Secure CP => Kloxo-MR
Daily News Update => Click here to see website!

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: how to block ip by country
« Reply #12 on: 2014-03-12, 05:02:36 »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.054 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM