Interview Prep/Networking/Cloud networking: VPC, firewalls, NAT, VPN and proxies

AWS Client VPN users connect successfully but can't reach anything in the VPC.

IntermediateTroubleshootingCloud networking: VPC, firewalls, NAT, VPN and proxies
Answer

Likely causes → Connecting only proves authentication. Access also needs an authorization rule for the destination CIDR (for that user group), a route in the Client VPN route table, a target network association, and SGs on resources allowing the Client VPN endpoint's SG. If the client CIDR overlaps the user's home LAN or the VPC, routing breaks too.

Diagnose →

aws ec2 describe-client-vpn-authorization-rules --client-vpn-endpoint-id <cvpn>
aws ec2 describe-client-vpn-routes --client-vpn-endpoint-id <cvpn>
aws ec2 describe-client-vpn-target-networks --client-vpn-endpoint-id <cvpn>

Fix → Add authorize-client-vpn-ingress for the VPC CIDR (scoped to an AD/SAML group), add routes, allow the endpoint SG on target resources, and choose a client CIDR that doesn't overlap.

Prevent → Template the full Client VPN setup and enable connection logs to CloudWatch.

All Networking questions Roadmap: Networking for DevOps

More on Cloud networking: VPC, firewalls, NAT, VPN and proxies