How to Block IP Address with Windows Firewall in Windows Server 2008

Today, I will show you how to block IP address that want to hack your server in windows server 2008. Here we go:

1. Log into your server via RDP.

2. Click on start > administrative tools > windows firewall with advanced security.

3. On the left side of the firewall window click on the inbound rules option.

4. On the right side of the screen click on New Rule.

5. Click on the custom radio button and then click next.

6. Make sure the All programs radio is selected then click next.

7. On the protocol and ports options leave everything at its defaults and click next.

8. On the scope screen you will see two boxes the top one is for local IP addresses and the bottom is for remote IP addresses. In this scenario we are trying to block an outside (remote) IP from accessing anything on the server so we will need to add the IP address to this section only as it will not be a local IP address.

9. Click on the radio that says "these IP addresses" in the remote section as shown below:


10. Then, click add button.


image_1.jpg

11. Add the IP address that want to hack your server

image_2.jpg

12. Next

13. Choose Block the connection and then next

14. Leave all of the options on the next screen checked this will be sure to block the IP no matter the connection they are trying to use. Click next.

15. Name the rule on the next screen something you can remember in case you wish to remove or edit it in the future. Click finish and thats it.