|
Firewals, computer, server and network security, kernel and applications security of FreeBSD/Linux/AIX systems.
Author |
Message |
mandrei99
|
 |
Post subject: Iptables: List rules as commands | Posted: Sun Mar 15, 2015 5:52 pm |
|
Joined: Tue Aug 04, 2009 9:16 am Posts: 250
|
Iptables: List rules as commands
To list Iptables rules as commands ready to be entered, use the -S iptables option: Quote: -S, --list-rules [chain] Print all rules in the selected chain. If no chain is selected, all chains are printed like iptables-save. Like every other iptables command, it applies to the specified table (filter is the default). List iptables forward rules as commandsCode: # iptables -S List iptables NAT rules as commandsCode: # iptables -S -t nat
|
|
|
|
|
|
|
Users browsing this forum: No registered users and 0 guests |
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
 News Site map SitemapIndex RSS Feed Channel list
|
|