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 -j DROP   | Block IP’s –

iptables -I FORWARD -s -j DROP    | Block IP’s –

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

iptables -I FORWARD -d -j DROP     | Block



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. Comments are moderated.*

Related Posts



No comments made yet. Be the first to submit a comment
Monday, 27 May 2024