Discussion in 'Server Operation' started by Davide, Jan 27, 2007.

  1. Davide

    Davide Member


    How can I block a single IP from accessing my server with ISPConfig/bastille?

    Cannot find how to put this in bastille firewall

    Thank you very much!
  2. gabrix

    gabrix New Member

    Well !!! By iptables -A INPUT -p ALL -s x.x.x.x -d $localdomain -j DROP bastille uses iptables . Today most of thr ips are dynamic ... drop its all subnet but could not work anyway ...
  3. falko

    falko Super Moderator ISPConfig Developer

  4. gabrix

    gabrix New Member

    ... and by hosts.deny .
  5. falko

    falko Super Moderator ISPConfig Developer

    But /etc/hosts.deny isn't read by all services, so it affects only some services.
  6. gabrix

    gabrix New Member

    I didn't know this.I know you can set or ALL: services or only ssh: ... .....

Share This Page