Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
18 Cards in this Set
- Front
- Back
[Short Option] Specifies the table to be operated upon. For firewalls, this will most often be filter, which is the default. For NAT configurations, the table name is nat.
|
-t <table>
|
|
[Short Option] Displays the current configuration for the specified chain or for all chains if chain is omitted.
|
-L <chain>
|
|
[Short Option] Displays the rules in the current chain or for all chains if chain is omitted. Produces more terse output than -L.
|
-S <chain>
|
|
[Short Option] Removes all rules for the specified chain or for all chains if chain is omitted.
|
-F <chain>
|
|
[Short Option] Sets the default policy (described in detail in “Setting the Default Policy”) for the specified chain.
|
-P <chain> <target>
|
|
[Short Option] Adds a new rule to the specified chain.
|
-A <chain> <rule>
|
|
[Short Option] Deletes an existing rule from a chain. The rule may be specified either as a number or as a description.
|
-D <chain> <rule>
|
|
[Short Option] Inserts a new rule into a chain at the specified position (number). If number is omitted, the rule is inserted at the head of the chain.
|
-I <chain> <number> <rule>
|
|
[Short Option] Replaces an existing rule (specified by number) with a new one.
|
-R <chain> <number> <rule>
|
|
[Long Option] Specifies the table to be operated upon. For firewalls, this will most often be filter, which is the default. For NAT configurations, the table name is nat.
|
--table <table>
|
|
[Long Option] Displays the current configuration for the specified chain or for all chains if chain is omitted.
|
--list <chain>
|
|
[Long Option] Displays the rules in the current chain or for all chains if chain is omitted. Produces more terse output than -L.
|
--list-rules <chain>
|
|
[Long Option] Removes all rules for the specified chain or for all chains if chain is omitted.
|
--flush <chain>
|
|
[Long Option] Sets the default policy (described in detail in “Setting the Default Policy”) for the specified chain.
|
--policy <chain> <target>
|
|
[Long Option] Adds a new rule to the specified chain.
|
--append <chain> <rule>
|
|
[Long Option] Deletes an existing rule from a chain. The rule may be specified either as a number or as a description.
|
--delete <chain> <rule>
|
|
[Long Option] Inserts a new rule into a chain at the specified position (number). If number is omitted, the rule is inserted at the head of the chain.
|
--insert <chain> <number> <rule>
|
|
[Long Option] Replaces an existing rule (specified by number) with a new one.
|
--replace <chain> <number> <rule>
|