- Newest
- Most votes
- Most comments
Hello.
I have given a similar answer in the URL below, but if you authenticate using an external IdP, it may be possible to implement IP restrictions using the IdP's functions.
https://repost.aws/ja/questions/QUtPJM5O82SGiS652R3MSltg/can-i-allow-aws-access-portal-access-only-from-specific-devices
For example, Azure Entra ID has an IP restriction function, so it is probably possible to restrict by IP address.
https://learn.microsoft.com/en-us/entra/identity/conditional-access/overview
To restrict AWS Access Portal access to only users connected through a VPN, you can implement a combination of network and security controls. Here's how you can achieve this:
-
Configure your VPN solution to assign a specific IP range or CIDR block to connected clients.
-
Use a web content filtering solution such as next-generation firewalls (NGFW) or Secure Web Gateways (SWG) to control access to the AWS Access Portal domains and URL endpoints.
-
Configure your firewall or web gateway to only allow traffic to the AWS Access Portal domains from the IP range assigned by your VPN.
-
Add the necessary AWS Access Portal domains and URL endpoints to your allowlist in the web content filtering solution. These include domains like:
- [Your Directory ID or alias].awsapps.com
- *.aws.dev
- *.awsstatic.com
- *.console.aws.a2z.com
- *.sso.amazonaws.com
- *.sso.[Region].amazonaws.com
- [Region].signin.aws
- signin.aws.amazon.com
-
Ensure that access to these domains is restricted to only the IP range assigned by your VPN.
By implementing these controls, users will only be able to access the AWS Access Portal when connected to your VPN. If they attempt to access it from outside the VPN, the firewall or web gateway will block the connection, effectively preventing even the portal from being displayed.
Remember to also configure your VPN solution to enforce its use for accessing corporate resources, ensuring users cannot bypass it to reach the AWS Access Portal.
Sources
Update firewalls and gateways to allow access to the AWS access portal - AWS IAM Identity Center
answered a year ago
Relevant content
asked 3 years ago
- AWS OFFICIALUpdated 5 months ago
