Question:
Is there a Router that can block inbound IP address'?
2010-09-28 10:22:11 UTC
a certain IP address keeps trying to connect to me but I don't see a way to block that IP Is there anyway to block it with GUI interface?
I am currently using Linksys WRT 54G 2.2 with Tomato 1.28.

there seems to be a way to telenet into router and do it in command with DD-WRT but I am looking for a much easier GUI kind of setup. Is there any router or firmware with that kind of function?

Example of the iptables command I found:

## create a new table named FIREWALL
iptables -N FIREWALL

## Add entry to FIREWALL XXX.XXX.0.0/255.255.0.0
iptables -A FIREWALL -i eth1 -s 87.3.0.0/16 -j DROP

## Route all incoming traffic through the FIREWALL
iptables -A INPUT -j FIREWALL
iptables -A FORWARD -j FIREWALL
Three answers:
StormX
2010-09-28 10:30:49 UTC
Not sure what you trying to accomplish here.

Are you saying that an unknown user trying to connect to your router?

Then why didn't you put an encryption in it.



Or are you saying that your trying to block someone from connecting to your router.

Then all you have to do is go into your router setting, most likely 192.168.2.1, or 192.168.0.1. Which ever the gateway address is, and set up a mac filter, you can get the the mac address by typing this line on command promt.



Arp - a



this line will find the mac address of that user using the ip address.

and finally just use the mac filter to prevent this user from connecting to your router.
BigE
2010-09-28 10:43:08 UTC
Typically, we put all the joining of the chains at the top, and the rules follow.



Is eth1 your internet side? Did you save the config with iptables-save and

restart iptables?
DrDave
2010-09-28 10:25:05 UTC
You should be able to see the mac address. I'm not sure about tomato but it may have mac filtering. If so, set it up to block that mac address or better yet, set it up to only allow the PCs you want to have networked.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...