Commands
ipfwadm
-A command parameters [options]
ipfwadm
-I command parameters [options]
ipfwadm
-O command parameters [options]
ipfwadm
-F command parameters [options]
ipfwadm
-M [ -l | -s ] [options]
This command is used to set up and maintain IP firewall (both input -I and output -O) and accounting (-A option).
Example: To display your current rule set, use
ipfwadm -l-A [direction] | IP accounting rules. Direction specifies which direction of packet travel the accounting refers to (in, out, or both). |
-I | IP input firewall rules. |
-O | IP output firewall rules. |
-F | IP forwarding firewall rules. |
-M | IP masquerading administration. Use with -l and -s ... |
Get Linux® Desk Reference, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.