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

This is a discussion on Block IP from connecting to VPS ? in the VPS & Dedicated forum
Does anyone know how to block an ip to connect to my VPS on every port ? Because it is flooding me and my apache ...

  1. #1
    JPC Member
    Join Date
    Jan 2010
    Posts
    4

    Block IP from connecting to VPS ?

    Does anyone know how to block an ip to connect to my VPS on every port ? Because it is flooding me and my apache webserver gows down ! Hope that you have an answer dudes.. See ya

  2. #2
    Registered User
    Join Date
    Jun 2008
    Posts
    285
    You can block a IP address using iptables. SSH login to your vps and type this command:

    > iptables -I INPUT -s x.x.x.x -j DROP

    Replace x.x.x.x with your desired IP address.

    If still there is any problem, open a ticket in support department.

  3. #3
    JPC Member
    Join Date
    Jan 2010
    Posts
    4
    How can i login to SSH ? the vps mail with informations doesn't have any ssh login info

  4. #4
    JPC Dream Team
    Join Date
    May 2007
    Location
    JPC
    Posts
    635
    All information should be there in the mail required to log in via SSH. You can log in via the main IP as host, root as user and its password to log in. You can use any SSH client like putty and download it from an online source. I would recommend running the command below to check if APF is installed and if so, use it to block the IP and if it does not work, try the iptables command.

    apf -d x.x.x.x {reason for block}
    Jawad A.
    JaguarPC
    Site Links:
    Knowledge Base | Network Status

  5. #5
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    Are you on a Windows VPS by any chance? That might explain why you don't have any SSH info...

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  6. #6
    草分け
    Join Date
    Aug 2006
    Location
    Bellthorpe
    Posts
    214
    Are you running a control panel? If so, which one? They all have the ability to set up IP deny function.

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
  •