In this rule, VPC route tables must be configured to restrict public access to Internet Gateway (IGW) to ensure security.
Rule | VPC route table should restrict public access to IGW |
Framework | Federal Financial Institutions Examination Council (FFIEC) |
Severity | ✔ High |
Description of the Rule
The rule requires that the VPC route table configuration restricts public access to the Internet Gateway (IGW) exclusively for Federal Financial Institutions Examination Council (FFIEC) organizations. This ensures that only approved entities within the FFIEC can access resources outside the VPC, while maintaining a secure network environment.
Troubleshooting Steps
If there are any issues with the VPC route table restricting public access to the IGW for FFIEC, you can follow these troubleshooting steps:
Verify VPC Configuration: Check if the VPC is properly set up and the desired route table is associated with the correct subnets.
Confirm IGW Attachment: Ensure that the Internet Gateway is correctly attached to the VPC and associated with the appropriate route table.
Check Route Table Entries: Validate that the route table contains the necessary entry to route traffic to the IGW for the FFIEC IP ranges.
Subnet Associations: Verify that the subnets associated with the route table are correct and aligned with the FFIEC requirements.
Necessary Codes
If necessary, you can utilize the following AWS CLI code snippets to configure the VPC route table to restrict public access to the IGW for FFIEC:
aws ec2 create-route-table --vpc-id <vpc-id>
aws ec2 associate-route-table --subnet-id <subnet-id> --route-table-id <route-table-id>
aws ec2 create-route --route-table-id <route-table-id> --destination-cidr-block <ffiec-ip-range> --gateway-id <igw-id>
Step-by-Step Guide for Remediation
To ensure that the VPC route table restricts public access to the IGW for FFIEC, follow these step-by-step instructions:
Identify the FFIEC IP ranges allowed to access the IGW.
Create a new route table specifically for the FFIEC traffic:
Associate the FFIEC route table with the relevant subnets:
Add a route entry to the FFIEC route table to restrict public access to the IGW:
<route-table-id>
with the ID of the FFIEC route table, <ffiec-ip-range>
with the FFIEC IP range allowed, and <igw-id>
with the ID of the Internet Gateway.Repeat steps 2-4 for all the subnets that should have restricted access to the IGW.
Verify the correct association and route entries in the VPC route table:
Perform exhaustive testing to ensure that only FFIEC entities can access the public resources via the IGW.
By following these remediation steps, you will successfully configure the VPC route table to restrict public access to the IGW exclusively for FFIEC organizations, providing a secure network environment in compliance with the rule.