Blocking ports on common modems TP-Link, Netgear, D-Link helps prevent connections from predefined ports, avoiding data flow into your network system. Especially in the current time with the rampant WannaCry ransomware, it is essential to block IPs on the router and implement port blocking below to maximize the safety of your computers and network devices, preventing WannaCry virus infections.
How to Block Ports on Popular Modem Models - TP-Link, Netgear, D-Link
Step 4: Choose Enable Firewall, Enable IP Address Filtering, and Allow the packets not defined by any filtering rules to pass through the router.
Step 5: Click on Save to store all the configurations.
Step 6: Click on IP Address Filtering.
Step 7: Click on Add New to set up the IP Address Filtering rule.
Step 8: Enter the IP address you want to restrict services on the computer in the LAN IP Address field and the port in the WAN Port field.
In the Action section, choose Deny.
Step 9: Click on Save to save the configurations.
Unlocking the Secrets: Blocking Ports on Netgear
To block ports on Netgear, follow the steps below:
Step 1: Open any browser on your computer.
Step 2: Use the browser to access the page: http://www.routerlogin.net.
If the http://www.routerlogin.net page is not accessible, you can visit one of the following pages:
- http://www.routerlogin.com
- http://192.168.1.1
- http://192.168.0.1
- http://10.0.0.1
Step 3: At this point, you will be prompted to enter your username and password. Enter the login information as follows:
Note: These credentials are case-sensitive.
- Username: admin
🔐 Unleash the secret phrase: unlock123
If your login adventure takes an unexpected turn, you might have altered the admin password. If the memory of the new password is playing hide and seek, embark on a journey to restore the factory settings, bringing the router back to the default state ordained by the creators.
Step 4: Journey to ADVANCED =>Security =>Block Services.
Step 5: Make your choice from the menu of Services Blocking:
📅 Per Schedule: Activate services blocked according to a timetable (schedule).
🔒 Always: Activate services blocked at all times (independent of the schedule).
Step 6: In the Service Table section, click to select Add.
A window labeled Block Services Setup will grace your screen.
In Step 7:, navigate to the Service Type section and specify the type of service you want to block (FTP, HTTP, ...).
If the service you want to block is not listed, choose User Defined.
In Step 8:, if you choose User Defined, go to the Protocol section and select TCP/UDP and the port number you want to block.
By default, all users are restricted from using the blocked protocol. If you only want to block specific users, specify their computer IP address in the Filter Services For section.
In Step 9:, click on Add.
These settings will be saved in the Service Table.
How to Block Ports on D-Link
There are 2 ways to block ports on a D-Link router. You can use Virtual Server settings or Port Forwarding. Virtual Server allows configuring one port at a time, while Port Forwarding lets you block multiple ports at once.
Both methods can be used on a computer or network device, or to block ports on all devices in the network. By default, the D-Link router blocks unwanted access traffic on all ports. However, if someone in your network is using high-bandwidth applications, such as peer-to-peer applications, completely blocking ports can be beneficial in this case.
- Virtual Server:
Step 1: Open any web browser, then enter “192.168.0.1” in the address bar. This is the IP address of the D-Link router.
Enter the username and password in the respective fields when prompted. By default, the username is “Admin” and there is no password.
In Step 2: Click on the Advanced tab at the top of the window, then select “Virtual Server” from the left menu.
In Step 3: Assign a name to the port or port group you want to block in the Name field, such as Blocked Ports. Each rule you add will create a Virtual Server, and each Virtual Server must have a unique name.
In Step 4: Enter the port number in the Internal Port field to block outgoing traffic. Enter the port number in the External Port field to block incoming traffic.
In Step 5: Click the dropdown menu for Protocol, select UDP to block traffic of User Datagram Protocol or select TCP to block traffic of Transmission Control Protocol. If unsure, you can choose Both to block both protocols.
In Step 6: Click on the dropdown menu for Schedule, select Never to block the port.
In Step 7: Click on the dropdown menu for Computer Name and choose a computer in your network to block access for that computer. Alternatively, you can enter the IP address of that computer in the IP Address field. Leave this field blank to block the port for all computers on the network.
In Step 8: Click on Save Settings.
- Port Forwarding:
In Step 1: Open any web browser, then enter “192.168.0.1” in the address bar. This is the IP address of the D-Link router.
Enter the username and password in the respective fields when prompted. By default, the username is “Admin” and there is no password.
In Step 2: Click on the Advanced tab at the top of the screen, then click on “Port Forwarding” in the left menu.
In Step 3: Assign a name to the rule in the Name field. Enter the ports you want to block in the TCP and UDP fields. To set up a range of multiple ports, you can use a hyphen, such as 44-100 to block ports from 44 to 100. Use commas to separate different ports, such as 44-100, 102, ...
In Step 4: Block the ports on a computer by selecting that computer in the Computer Name menu. Set the schedule to Never. This means the blocked ports will never be accessible to that computer again.
In Step 5: Block the ports on all computers in the network by selecting a non-existent IP address on your network. Enter this IP address in the IP Address field.
In the Schedule menu, choose Always. All access traffic of the selected ports will be forwarded to a non-existent device on your network, blocking the ports from being accessed on all computers.
In Step 6: Click on Save Settings.
Here is a guide on how to block ports on common modem brands like TP-Link, Netgear, D-Link. This ensures a safer internet experience, protecting against virus threats spreading through blocked ports. If your computer is infected with WannaCry, you can refer to tips on removing WannaCry to eliminate this ransomware from your system. The removal process for WannaCry is well-regarded and widely practiced.