3.6.5 Ensure firewall rules exist for all open ports

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Any ports that have been opened on non-loopback addresses need firewall rules to govern traffic. Without a firewall rule configured for open ports default firewall policy will drop all packets to these ports.

NOTE - Nessus has not evaluated this check. Please review the output to ensure it matches benchmark compliancy.

Solution

For each port identified in the audit which does not have a firewall rule establish a proper rule for accepting inbound connections: # iptables -A INPUT -p <protocol> --dport <port> -m state --state NEW -j ACCEPT

See Also

https://benchmarks.cisecurity.org/tools2/linux/CIS_SUSE_Linux_Enterprise_11_Benchmark_v2.0.0.pdf

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-7

Plugin: Unix

Control ID: f90a08c68f8f71a862998dedc8561c63d61934420a3232523b9fceff518d87b3