Block Range of IP

Discussion in 'Installation/Configuration' started by roli, Mar 7, 2010.

  1. roli

    roli New Member

    Hello,

    I use ISPConfig and I'd like to block or drop range of IPs on server for example: 192.168.1.1 - 192.168.1.254
    193.168.1.1 - 193.168.1.254
    etc..

    How to do this, please help me. :):)

    Best,
    Roli:eek:
     
  2. jlaughy

    jlaughy Member

    I normal do that in /etc/hosts.deny

    The rule

    ALL: 193.168.1.

    Then you block the complete C-class block (255)
     
  3. roli

    roli New Member

    Thanks for advice but rather block traffic on firewall.:) I don't know how to because ISPConfig tun off firewall of Suse distribution.

    I still ask how to?:eek::confused:

    Best,
    Roli
     

Share This Page