Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 4 of 4

This is a discussion on Where to ban an IP in the VPS & Dedicated forum
Greetings all. I am very new to the vps adventure but am learning as I go. I installed logwatch and noticed that I had an ...

  1. #1
    Loyal Client
    Join Date
    Apr 2009
    Posts
    33

    Where to ban an IP

    Greetings all. I am very new to the vps adventure but am learning as I go. I installed logwatch and noticed that I had an IP trying to hit my VPS many times. I am trying to figure out where I need to ban this IP from even connecting to my server. Is the best place to do it in the Virtuozzo control panel? In case anyone is curious the IP address is 218.249.29.194. Thanks for the help all, and for the stupid question.

  2. #2
    JPC Dream Team
    Join Date
    May 2007
    Location
    JPC
    Posts
    635
    Your VPS should have either APF or CSF firewall installed. If you need to ban an IP, you can run the commands below logged in via SSH as root.

    For CSF:

    Code:
    csf -d 1.2.3.4 {reason for banning}
    For APF:

    Code:
    apf -d 1.2.3.4 {reason for banning}
    For CSF, you have an option to ban the IP from the GUI in WHM (in case you are on a cPanel server). If you open a ticket regarding this, techs can guide you further depending on the firewall available on your server, check your server security, and harden your server further if possible.
    Jawad A.
    JaguarPC
    Site Links:
    Knowledge Base | Network Status

  3. #3
    Loyal Client
    Join Date
    Apr 2009
    Posts
    33
    Thanks for the info I opened a ticket with support and they were awesome.

  4. #4
    JPC Dream Team
    Join Date
    May 2007
    Location
    JPC
    Posts
    635
    You are always welcome. Glad we could help.
    Jawad A.
    JaguarPC
    Site Links:
    Knowledge Base | Network Status

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •