3.6.3.3.4 Ensure IPv6 firewall rules exist for all open ports

Information

Any ports that have been opened on non-loopback addresses need firewall rules to govern traffic.

Notes:

Changing firewall settings while connected over network can result in being locked out of the system

Remediation will only affect the active system firewall, be sure to configure the default policy in your firewall management to apply on boot as well

The remediation command opens up the port to traffic from all sources. Consult iptables documentation and set any restrictions in compliance with site policy

Rationale:

Without a firewall rule configured for open ports default firewall policy will drop all packets to these ports.

Solution

For each port identified in the audit which does not have a firewall rule establish a proper rule for accepting inbound connections:

# ip6tables -A INPUT -p <protocol> --dport <port> -m state --state NEW -j ACCEPT

See Also

https://workbench.cisecurity.org/files/2920

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-7(12), CSCv6|9.1, CSCv7|9.4

Plugin: Unix

Control ID: b05760e4d987011c76b0be8c80f407388918bb2d95697cd09dab4a6ac2304abd