Skip to content
ATO Pathways
Log In
Overview
Search
Catalogs
SCAP
OSCAL
Catalogs
Profiles
Documents
References
Knowledge Base
Platform Documentation
Compliance Dictionary
Platform Changelog
About
Catalogs
XCCDF
Guide to the Secure Configuration of Ubuntu 22.04
System Settings
Network Configuration and Firewalls
iptables and ip6tables
Strengthen the Default Ruleset
Set Default iptables Policy for Incoming Packets
Set Default iptables Policy for Incoming Packets
An XCCDF Rule
Details
Profiles
Prose
Set Default iptables Policy for Incoming Packets
Medium Severity
To set the default policy to DROP (instead of ACCEPT) for the built-in INPUT chain which processes incoming packets, add or correct the following line in
/etc/sysconfig/iptables
:
:INPUT DROP [0:0]