To block an IP address, the user can use the cPanel to go to “Security” and then to “IP Deny Manager.” From there, the user should input the IP address to be blocked—and that’s it. The hPanel from Hostinger can also block IP addresses via its Deny Box option.
Users can also block IP addresses via the administrative page of the router. To access the router, users can input 192.168.1.2 (or 192.168.0.1 or 192.168.1.1 or whatever the IP address of the router is (it’s usually written on the bottom of the router) into the URL bar of any mainstream web browser.
After logging in, the user should look for configuration pages labeled Firewall or Block Websites, which are usually found either under Parental Filtering or Content Filtering. From there, the user should go to Security and input the IP address on the configuration page. Usually, the input box for an IP address has the text “keyword” or “domain name” written on it. But the box works for IP addresses as well.
Once done, the user should hit the “Done” button and then the “Save” button.
Another way to block an IP address is to use the Windows Firewall via the Control Panel. Users should launch the Windows Firewall app and then go to “Inbound Rules.” From there, go to the new Rule and then click on “Custom.” Then, click “Next” and then “All Programs.” Click next again and then click “These IP Addresses.” Then click “Add” and then input the IP address to be blocked. Then click “OK” and then “Next.” From there, select the menu for “Block the Connection” and name the new rule. Finally, click the finish button.
Some of the methods mentioned above will also work for macOS users.
One method specific to macOS users is via System Preferences. After clicking the Apple icon in the top-left corner of the screen, the user should click on “System Preferences.” Then, go to the “Network” option and then click on “Advanced.” From there, go to the tab labeled TCP/IP and then input the IP address to be blocked.