iptable settings...

Discussion in 'Tomato Firmware' started by philtrim, Nov 25, 2009.

  1. philtrim

    philtrim Addicted to LI Member

    This is probably a stupid guestion but when you are opening and closing ports (through the Tomato GUI) and adding various rules for blocking users/ports/addresses, etc....does Tomato manually create all these aforementioned rules in the background using the iptables command?
    If so, where/how can you view these settings/changes?
    I was wanting to see how they are setup/changed so as to learn a little more about the iptables command line.

    I am new to Linux, and I am reading up on iptables, and was trying to get a real-life example/understanding of how it works.

    Great Forum!

  2. mstombs

    mstombs Network Guru Member

    Yes it does use iptables commands, you won't recognize the way the C-code does it (uses a few tricks) but the router port forwards, upnp, QOS rules etc all use iptables configured kernel netfilter rules, view what is configured using

    iptables -nvL
    iptables -nvL -t mangle
    iptables -nvL -t nat
    for example from a Telnet or ssh console window
  3. Planiwa

    Planiwa Network Guru Member

    You may (also) want to examine these files:

    and perhaps also
  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