1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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!

    Thanks.
     
  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

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

    Planiwa LI Guru Member

    You may (also) want to examine these files:

    /etc/iptables
    and perhaps also
    /etc/qos
     

Share This Page