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. 2024-07-14, 15:47:12

Author Topic: what command iptables for block ip ?  (Read 4300 times)

0 Members and 1 Guest are viewing this topic.

Offline bb53

  • Junior Member
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
what command iptables for block ip ?
« on: 2013-06-18, 00:57:32 »
Hello

what command iptables for block ip ?

this is error this command

iptables -A INPUT -s 218.30.0.0/16 -j DROP
iptables -A INPUT -s 100.43.0.0/16 -j DROP
iptables -A INPUT -s 180.76.0.0/16 -j DROP
iptables -A INPUT -s 180.76.5.0/24 -j DROP
iptables -A INPUT -s 220.181.0.0/13 -j DROP
iptables -A INPUT -s 220.181.0.0/15 -j DROP
iptables -A INPUT -s 220.181.0.0/16 -j DROP
iptables -A INPUT -s 220.181.108.0/24 -j DROP
iptables -A INPUT -s 123.125.0.0/13 -j DROP
iptables -A INPUT -s 123.125.0.0/14 -j DROP
iptables -A INPUT -s 123.125.0.0/16 -j DROP
iptables -A INPUT -s 1.202.0.0/16 -j DROP

Thank you
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: what command iptables for block ip ?
« Reply #1 on: 2013-06-18, 01:21:24 »
Better googling for this topic.

Instead add ip blocked in iptables, why not use 'ip blocked' in Kloxo-MR panel?.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bb53

  • Junior Member
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: what command iptables for block ip ?
« Reply #2 on: 2013-06-18, 01:36:03 »
I have many block ip 5310 line I think block ip in iptables comfortable

and i don't knpw how to block ip in kloxo mr :)
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline bb53

  • Junior Member
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: what command iptables for block ip ?
« Reply #3 on: 2013-06-18, 10:24:27 »
I use

-A INPUT -s 65.55.44.100 -p tcp --destination-port 25 -j DROP
-A INPUT -s 65.55.44.100 -j DROP

Not error
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: what command iptables for block ip ?
« Reply #4 on: 2013-06-26, 19:55:48 »
for easy and simple
you can try install webmin then install csf
you can easy add ip to block access your server
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.046 seconds with 18 queries.

web stats analysis