Need some help with ip baning !

Discussion in 'Feedback/Feature Requests' started by TP_MoonStar, Oct 18, 2007.

  1. TP_MoonStar

    TP_MoonStar New Member

    Hello everyone, first of all good night :)

    I need some help with ip baning.

    Recently we moved to litespeed our vbulletin forum and now we got some problems with some country's and we have to IP ban then however we are looking for better options then baning on the forum since this way they wouldnt get banned in the subdomain ;/ only on the forum.

    It's somehow possible to ban their country from our whole domain? or any other way to completly ban ip?

    I would be happy if someone give me a light on this.

    the forum is www.eurobattle.net

    Sorry for poor english,

    Thanks again,
  2. mistwang

    mistwang LiteSpeed Staff

    You need to look into iptables, or hire an admin to do that for you.
  3. brrr

    brrr New Member

    I don't get it. At the moment you do IP banning from within VB, I gather.

    But do you run your whole webserver, including your forum, off Litespeed?

    If yes, why don't you just use the IP banning feature of Litespeed, which lets you ban users from accessing your whole site if you set the ban in your master Server configuration - Configuration > Server >Security >Access Control.

    Banned users will then get a 403 'Forbidden' error for you whole site.

    Banning countries by IP is very difficult because the way IP ranges are allocated isn't that neat - allocations are scattered all over the place, and not allocated in nice contiguous blocks that you could easy block out with one CIDR mask :)
  4. mistwang

    mistwang LiteSpeed Staff

    With our enterprise edition, the IP to country DB from MaxMind can be used to lookup the country code from IP and ban them with rewrite rules. :)
  5. TP_MoonStar

    TP_MoonStar New Member

    Thanks :)

    Thanks everyone i'll take a look on what i can do about it :)

    Yes the everything is hosted here not only the forum.

Share This Page