mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-25 05:37:32 +00:00
15 lines
616 B
Text
15 lines
616 B
Text
|
= How to edit iptables rules
|
||
|
|
||
|
In this how-to, we will illustrate three ways of editing iptables rules, via:
|
||
|
|
||
|
* Command line interface (CLI): `iptables` and system configuration file `/etc/sysconfig/iptables`.
|
||
|
* Text-based interfaces (TUI): `setup` or `system-config-firewall-tui`
|
||
|
* Graphical user interface(GUI): `system-config-firewall`
|
||
|
|
||
|
NOTE: This how-to illustrates editing existing iptables rules, not the
|
||
|
initial creation of rules chains.
|
||
|
|
||
|
include::{partialsdir}/iptables-cli.adoc[leveloffset=+1]
|
||
|
include::{partialsdir}/iptables-tui.adoc[leveloffset=+1]
|
||
|
include::{partialsdir}/iptables-gui.adoc[leveloffset=+1]
|