Nov 02 2008
Banning IP address from your Windows Dedicated server with APF
If you have a Dedicated web server hosting thinking that you will never face an attack will always prove to be a myth as dedicated servers also experience user-initiated attacks. The best thing to avoid these attacks is to be prepared. First thing is you should have a good web host to manage your server. You can now install APF on your Dedicated server for the prevention of attacks from the attacker. Also, you will have to learn the technique of banning a specific IP address from reaching your server.
This technique can save your Windows Dedicated server and this can be done by following the simple steps mentioned below.
1) Login to your server as root.
2) With APF firewall installed, you just have to enter apf –d <ip>
3) Rebooting your dedicated server will reset all your IP bans and this is by default. This is the reason that APF is recommended.
4) Open up the deny hosts file.
5) Now scroll to the bottom and paste in the IP address you want to ban.
6) Ctrl+X then Y . This will help you to save the setting and keep them by default.
7) Now, just restart your APF and you are done.




















