quick-docs/modules/ROOT/pages/how-to-edit-iptables-rules.adoc
FeRD (Frank Dana) 444ac7d1d7 Flag iptables doc as outdated
- Place a large caution box at the top of the file, warning
  users of the outdated information on the page and directing
  them to the more current "Using firewalld" quick doc.

- Drop the second and third iptables section partials entirely,
  as it's been years since either 'system-config-firewall' or
  'system-config-firewall-tui' has been available in the repos.
2021-04-26 20:44:57 +00:00

23 lines
801 B
Text

= How to edit iptables rules
.Outdated information
[CAUTION]
====
A newer, more flexible access control service, firewalld,
is now the default firewall manager for Fedora/CentOS.
For most regular users' needs,
firewalld has eliminated the need to edit iptables rules directly.
You may wish to read the <<firewalld.adoc#,Using firewalld>> Quick Doc instead of this document,
as the information provided here is no longer current.
It is preserved mainly for historical interest.
====
In this how-to, we will illustrate how to edit iptables rules
using the `iptables` command and the system configuration file
`/etc/sysconfig/iptables`.
NOTE: This how-to illustrates editing existing iptables rules,
not the initial creation of rules chains.
include::{partialsdir}/iptables-cli.adoc[leveloffset=+1]