3.10 Use Identity Aware Proxy (IAP) to Ensure Only Traffic From Google IP Addresses are 'Allowed'


IAP authenticates the user requests to your apps via a Google single sign in. You can then manage these users with permissions to control access. It is recommended to use both IAP permissions and firewalls to restrict this access to your apps with sensitive information.


IAP ensure that access to VMs is controlled by authenticating incoming requests. Access to your apps and the VMs should be restricted by firewall rules that allow only the proxy IAP IP addresses contained in the subnet. Otherwise, unauthenticated requests can be made to your apps. To ensure that load balancing works correctly health checks should also be allowed.


If firewall rules are not configured correctly, legitimate business services could be negatively impacted. It is recommended to make these changes during a time of low usage.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.


From the Console:

Go to the Cloud Console VPC network > Firewall rules.

Select the checkbox next to the following rules:




Click Delete.

Click Create firewall rule and set the following values:

Name: allow-iap-traffic

Targets: All instances in the network

Source IP ranges (press Enter after you paste each value in the box, copy the value below the bold text including the dash):
IAP Proxy Addresses
Google Health Check
**Google Health Check

Protocols and ports:

Specified protocols and ports required for access and management of your app. For example most health check connection protocols would be covered by;

tcp:80 (Default HTTP Health Check port)

tcp:443--(Default HTTPS Health Check port)
Note: if you have custom ports used by your load balancers, you will need to list them here

When you're finished updating values, click Create.

Default Value:

By default all traffic is allowed.

See Also


Item Details


References: 800-53|AC-2(1), CSCv7|16.2

Plugin: GCP

Control ID: 724b5bf390c276e877c65bd13638e0b8d912101d10f9d6d9b2c4338e10e2b312