Become The Solution Chicago Logo

Become The Solution Chicago Logo

Search Become The Solution:

Tomato - Blocking IP Addresses To Router

Tomato - Blocking IP Addresses To Router

If you custom upgraded your router firmware for Tomato, you might need to take advantage of the iptables Firewall scripts to block incoming IP addresses. You can input any the following commands to block a single or a range of IP addresses.

 

iptables -I FORWARD -s 10.0.0.0/255.0.0.0 -j DROP   | Block IP’s 10.0.0.1 – 10.255.255.254





iptables -I FORWARD -s 10.0.0.0/8 -j DROP    | Block IP’s 10.0.0.1 – 10.255.255.254

iptables -I FORWARD -m iprange --src-range 221.0.0.0-221.255.255.255 -j DROP | Block IP’s 10.0.0.1 – 10.255.255.254

iptables -I FORWARD -d 10.0.0.1 -j DROP     | Block 10.0.0.1

 

 

A screenshot below demonstrates where to input these commands in the Tomato gui. Remember to save and reboot your router to apply changes.

 

 tomato firewall scripts block ip

 

 

* Please use the comment form below to provide feedback*



4
 

Comments

No comments made yet. Be the first to submit a comment
Guest
Friday, 20 July 2018

Subscribe to Become The Solution!



Follow Us Online!
Become The Solution Facebook PageBecome The Solution Twitter Solution ChicagoBecome The Solution Google PlusBecome The Solution InstagramBecome The Solution LinkedInBecome The Solution YouTube

Subscribe to Become The Solution!