Blocking Net Range

Discussion in 'Tomato Firmware' started by runssh, Nov 7, 2007.

  1. runssh

    runssh LI Guru Member

    Hi,

    My log is now saturated by IPs from Shaw Communications. I'd like to block everything from their netrange:

    24.64.0.0 - 24.64.255.255

    How do I go about doing this? Via IPTABLES? If so, could you please provide a snippet of what the command would look like?

    TIA.
     
  2. roadkill

    roadkill Super Moderator Staff Member Member

    try this...
    Code:
    iptables -I INPUT -s 24.64.0.0/16 -j DROP
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice