Firewall versus iptables

Forums Network Management ZeroShell Firewall versus iptables

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #43729
    rsiera
    Member

    I came across this very interesting blog post on a pattern how to use the firewall and its chains. http://www.lammertbies.nl/comm/info/iptables.html
    As a Linux newbie I tried to figure out the relation between those instructions in post (I assume they are iptable instructions?) and the zeroshell firewall interface. Can anyone help to clarify that relation?

    a) The instructions in the above blog post are they iptable instructions?

    b) When I issue this in the shell

    iptables -A Bogus -s 172.16.0.0/12 -j DROP

    should I be able to see that in the interface?

    c) If I should be able to see it, well, I don’t. Is that because of the naming of chain (case sensitive?)

    d) Where are those iptable rules stored?

    e) Which shell search instruction could I have used to answer question d) myself?

    f) If these instructions cannot be seen in the interface, is it possible to recreate them via the interface? For example these ones I find very usefull:

    -A Always -i lo -j ACCEPT
    -A Enemies -m recent –name psc –update –seconds 60 -j DROP
    -A Enemies -i ! lo -m tcp -p tcp –dport 1433 -m recent –name psc –set -j DROP

    #52873
    rsiera
    Member

    Ok, I figured it out myself (I think).
    I think I can use the “IPTABLES Parameters” option.
    And I just have to omit the “-A ” bit. Right?

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.