How to block ports on a router?

A router's port blocking feature is rarely used. In this article, I will demonstrate how to restrict access to specific ports on a TP-Link router.

How to block ports on a router?

A router's ability to block particular ports can be a helpful tool for enhancing network security and preventing illegal access. Depending on the precise make and model of the router, the procedure for blocking ports will change, however the following general methods should help:

  • Log in to the web interface of your router: The IP address of your router should be typed into an open web browser. Typically, this would be 192.168.1.1 or 192.168.0.1. The input of a username and password will be required.

  • Find the firewall or security settings: After signing in, go to the firewall or security settings. This could be located under the "Security" or "Firewall" menu.

  • Set up port blocking: You should be able to find a port blocking option in the firewall or security settings. You must indicate both the TCP or UDP protocol they utilize as well as the ports you want to block. You might be able to ban or allow particular IP addresses with some routers.

  • Save your changes: Make sure to save your modifications after configuring the port blocking settings.

It's necessary to keep in mind that blocking a port can prevent some apps from using it, so it's crucial to identify these applications before blocking the port.

Additionally, these steps could differ based on the brand and model of the router, thus it is advised to consult the router's manual for detailed instructions.