mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-24 13:32:42 +00:00
444ac7d1d7
- 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.
23 lines
801 B
Text
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]
|