Cisco Secure Access Help

PDF

Cisco Secure Access Help

Configure Tunnels with AWS Virtual Private Clouds and Elastic Compute instances

Want to summarize with AI?

Log in

Understand how to connect AWS Virtual Private Clouds (VPCs) and Elastic Compute Instances (ECs) to Cisco Secure Access.


Before you begin

Follow the steps in this guide to connect Amazon Web Services (AWS), Virtual Private Clouds (VPCs) and Elastic Compute instances (ECs) to Cisco Secure Access.

Limitations

When integrating AWS Transit Gateway with Cisco Secure Access, consider the following limitations. These factors impact the functionality and reliability of the connection:

  • Equal-cost multi-path routing (ECMP) is not supported because AWS requires specific IP:IP tunnel identifiers. Additional tunnels must source from new IP addresses.

  • You cannot configure multiple AWS Site-to-Site VPNs for overlapping subnets. However, you can add connectivity to new VPC subnets. Using two active AWS Site-to-Site VPNs as a backup causes asymmetrical routing to Cisco Secure Access.

  • Redundant connectivity from multiple AWS Transit Gateways or AWS Site-to-Site VPNs is not supported. This is due to the absence of Border Gateway Protocol (BGP) preference settings in AWS Site-to-Site VPN configurations or the Cisco Secure Access dashboard.

  • Disaster recovery (DR) testing is limited. Disabling individual tunnels quickly is not possible. Reconfiguring an active tunnel in AWS may take up to two minutes to restore traffic flow.

    Note
    Failover initiated by Cisco Secure Access using BGP completes within seconds. However, dead peer detection (DPD) may take up to two minutes in certain DR scenarios, such as when external factors (e.g., ISP blocking traffic) are involved.

    For other disconnection events where both sides can still communicate, an Internet Protocol Security (IPsec) “DELETE” event is sent. This results in failover to the secondary IPSEC tunnel within seconds.

To ensure the tunnel works successfully with AWS Transit Gateway for Site-to-Site Virtual Private Networks (VPNs), you must meet the following prerequisites. These prerequisites ensure seamless interoperability between AWS Transit Gateway and Cisco Secure Access.

  • You must have a thorough understanding of AWS Virtual Private Clouds (VPCs), routing, and the AWS console pages.

  • Border Gateway Protocol (BGP) is mandatory. Static routing is not supported for Internet Protocol Security (IPsec) tunnels between AWS Site-to-Site VPN and Cisco Secure Access.

  • BGP peering is used to learn routes and to determine if the tunnel is passing traffic. When the peer connection is lost, the tunnel is removed from the route table in both AWS and Cisco Secure Access.

  • Set up two AWS Site-to-Site VPN configurations for each AWS Transit Gateway. Each configuration must connect to one Cisco Secure Access Tunnel Group.

    A single AWS configuration with two tunnels does not work.

Procedure

  1. Add a Network Tunnel Group to Secure Access. For complete procedure, see Add Network Tunnel Group.

  2. Select Tunnel ID Format as an IP address and enter the two IP addresses provided by Amazon Web Services (AWS), if available.

  3. Use Placeholder IP Addresses if AWS IPs are unavailable.

    • Use valid placeholder IP addresses for the primary and secondary AWS head ends.

    • Replace the placeholders with actual IP addresses when AWS allocates them.

    • The actual IP addresses become available during the configuration of the AWS Site-to-Site Virtual Private Network (VPN).For example, use placeholder IP addresses such as 12.34.56.78 and 90.12.34.56.


    Become available during the configuration of the AWS Site-to-Site Virtual Private Network (VPN).For example, use placeholder IP addresses such as 12.34.56.78 and 90.12.34.56.
  4. Configure Border Gateway Protocol (BGP) for the tunnel group.

    For example, you can use Autonomous System (AS) number 64513.

    Note
    BGP is mandatory for Cisco Secure Access to work with AWS Site-to-Site VPN (IPsec tunnels). Any valid AS number except 64512 is acceptable.

    BGP is mandatory for Cisco Secure Access to work with AWS Site-to-Site VPN (IPsec tunnels). Any valid AS number except 64512 is acceptable.

    After completion, the new tunnel group appears in the Cisco Secure Access dashboard with a status "Disconnected". The status updates once the AWS Transit Gateway Site-to-Site configuration becomes active.


Deploy a New AWS Transit Gateway

Transit gateways provide a convenient method for enabling communication between AWS Virtual Private Clouds (VPCs) without overlapping subnets. They also allow these VPCs to connect to the Internet.

You must create and deploy a new AWS Transit Gateway specifically for Cisco Secure Access tunnels. While you can use an existing AWS Transit Gateway, exercise caution as advertising a default route may cause unexpected issues with existing VPC attachments.

Follow the steps in Get started with using Amazon VPC Transit Gateways to create a new AWS Transit Gateway.


Configure Two VPN Site-to-Site Connections to the New Transit Gateway

Procedure

  1. Configure the First VPN Site-to-Site Connection

  2. Select the external IP address to use.

  3. Set the Target gateway to Transit Gateway and choose the ID of your new transit gateway.

  4. Enter the Customer Gateway Address.

    Enter the IP address from the Cisco Secure Access tunnel group. For example, in the United States (Virginia), use 35.171.214.188.

  5. Confirm this address in the Cisco Secure Access console because it may vary by region.

  6. Record AWS Tunnel one's IP Address to update the Cisco Secure Access tunnel group.

    Note
    Do not configure Tunnel 2 in this VPN connection. The Cisco Secure Access secondary tunnel will be set up in a separate VPN configuration.
  7. Set the Inside IPv4 CIDR.

    Enter 169.254.0.13/30 as the "Inside IPv4 CIDR" range. AWS presents the IPv4 CIDR as the BGP peer to Cisco Secure Access.

  8. Enter the passphrase set during the Cisco Secure Access tunnel group configuration.

  9. Configure the tunnel parameters.

    Follow the tunnel parameters in Supported IPsec Parameters. Remove unused parameters and use only the options provided in this table. Retain the remaining values and fields as their default settings.

    Components Parameters
    Phase 1 encryption algorithms AES256-GCM-16
    Phase 2 encryption algorithms AES256-GCM-16
    Phase 1 integrity algorithms SHA2-256
    Phase 2 integrity algorithms SHA2-256
    Phase 1 DH group numbers 19,20
    Phase 2 DH group numbers 19,20
    IKE version Ikev2
  10. Check the Restart and Start boxes to configure DPD timeout action and Startup action.


    SHA2-256 Phase 1 DH group numbers 19,20 Phase 2 DH group numbers 19,20 IKE version Ikev2 Check the Restart and Start boxes to configure DPD timeout action and Startup action.
    Note
    Do not configure the second tunnel. Save the settings.

Configure the Second VPN Site-to-Site Connection

Procedure

  1. Repeat step 1 through step 3 from the first VPN Site-to-Site connection.

  2. Record the new IP address for the second VPN configuration.

    Note
    Do not configure Tunnel 2 in this new VPN configuration.
  3. Obtain the customer gateway IP address for the secondary hub.

    For example, the document uses 44.217.195.188. However, your actual IP address from the Cisco Secure Access tunnel group may vary.

  4. Set the Inside IPv4 CIDR to 169.254.0.16/30 for the new connection.

    Note
    AWS requires a /30 subnet. Cisco Secure Access IPSEC tunnels accept any IP in 169.254.0.0/24, except 169.254.0.5 and 169.254.0.9, which are reserved.
  5. Update the Cisco Secure Access dashboard with the AWS IP addresses for both VPN configurations.

    For example: Use Primary IP: 18.190.135.135 and Secondary IP: 3.128.99.0



  6. Allow a few minutes for the tunnels to initialize. Once active, the Cisco Secure Access status page displays the updated status.




Configure the VPC Route Table to use the AWS Transit Gateway

Note
Attaching a VPC to the Transit Gateway is insufficient.

Procedure

  1. Configure the VPC route table to target the Transit Gateway.For example: VPC Subnet: 10.10.2.0/24, Transit Gateway ID: tgw-0c9c9a19af8cb756b.

  2. Edit the route for 0.0.0.0/0 to target the Transit Gateway ID.



  3. Click Save the changes.

    Note
    All connected subnets to the Transit Gateway are advertised to Cisco Secure Access using BGP.