Книги автора: Linux Network Administrator Guide, Second Edition
/ Книги автора: Linux Network Administrator Guide, Second Edition
Книга: Linux Network Administrator Guide, Second Edition
Commands
Commands
At least one of the following must be supplied and applies only to those rules that relate to the supplied category. The command tells the firewall what action to take.
- a [policy]
Append a new rule
- i [policy]
Insert a new rule
- d [policy]
Delete an existing rule
- p policy
Set the default policy
- l
List all existing rules
- f
Flush all existing rules
The policies relevant to IP firewall and their meanings are:
accept
Allows matching datagrams to be received, forwarded, or transmitted
deny
Blocks matching datagrams from being received, forwarded, or transmitted
reject
Blocks matching datagrams from being received, forwarded, or transmitted, and sends the host that sent the datagram and ICMP error message
Оглавление статьи/книги
Похожие страницы
- Appendix A. Detailed explanations of special commands
- Use Essential Commands from the
- Using Basic Print Commands
- Using Commands in the ftpaccess File to Configure wu-ftpd
- Configure Commands Directed Toward the cdpath
- Using Commands for Server Administration
- Basic Commands
- Combining Commands
- Appendix B. U-Boot Configurable Commands
- Appendix C. BusyBox Commands
- 11.3.4. BusyBox Commands
- 14.3.3. gdb User-Defined Commands