Tomato 1.19 speedmod and iptables rules

Discussion in 'Tomato Firmware' started by bagu, May 13, 2008.

  1. bagu

    bagu Network Guru Member

    since few days, my webserver is under attack from the web.
    So, i put rules under Administration -> Scripts -> Firewall

    But, even if rules seem to be ok, still access to my web server.
    So i have 2 questions :
    1-Why ? Is there anything wrong on my rules ?
    2-Is there any way to integrate a web interface to make management of rules easier and accurate ?

    Thanks in advance.
  2. nvtweak

    nvtweak LI Guru Member

    In your FORWARD rules, use -I instead of -A
  3. bagu

    bagu Network Guru Member

    Mmmm not sure -I may be follow by the rule number (see in the man page)
    -A simply add the rule without number to order it
  4. nvtweak

    nvtweak LI Guru Member

    I know what -I means...

    Using -I without rule number inserts to the top of the chain. You don't need the rule number in this case because it doesn't matter what order they're in. It just matters that they are on the top. -A does not insert them on the top, it appends them to the bottom.. which is why your rules don't work..
  5. bagu

    bagu Network Guru Member

    Ok, i will try it.

    Thanks a lot.

    And if someone else is interested but point number 2, say it.
    Because, i think it will be a good idea only if we are many to want this feature.
  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