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
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 ...
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
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.
How can i login to SSH ? the vps mail with informations doesn't have any ssh login info
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}
Are you on a Windows VPS by any chance? That might explain why you don't have any SSH info...
--Jason
Are you running a control panel? If so, which one? They all have the ability to set up IP deny function.
Copyright © 2011 JaguarPC.com
Bookmarks