{"description": "By default, <tt>iptables</tt>\nblocks access to the ports used by the web server.\n\nTo configure <tt>iptables</tt> to allow port 21 traffic, one must edit\n<tt>/etc/sysconfig/iptables</tt> and\n<tt>/etc/sysconfig/ip6tables</tt> (if IPv6 is in use).\nAdd the following line, ensuring that it appears before the final LOG and DROP lines for the INPUT chain:\n<pre>-A INPUT -m state --state NEW -p tcp --dport 21 -j ACCEPT</pre>\nEdit the file <tt>/etc/sysconfig/iptables-config</tt>. Ensure that the space-separated list of modules contains\nthe FTP connection tracking module:\n<pre>IPTABLES_MODULES=\"ip_conntrack_ftp\"</pre>", "rationale": "These settings configure the firewall to allow connections to an FTP server.", "severity": "unknown", "references": {}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": null, "ocil": null, "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": [], "cpe_platform_names": [], "inherited_cpe_platform_names": [], "bash_conditional": null, "fixes": {}, "title": "Configure Firewalls to Protect the FTP Server", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/services/ftp/ftp_configure_vsftpd/ftp_configure_firewall/rule.yml", "template": null}