Store ript rules DSL filename + line number on iptables rules #4

Open
auxesis opened this Issue Jan 30, 2013 · 0 comments

Projects

None yet

1 participant

@auxesis
Contributor
auxesis commented Jan 30, 2013

This will allow operators to track down where particular rules came from.

We can use the comment module to do this:

comment
    Allows you to add comments (up to 256 characters) to any rule.

    --comment comment

    Example:
           iptables -A INPUT -i eth1 -m comment --comment "my local LAN"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment