Skip to main content

About

After creating a site-to-site VPN connection in Amazon, customers must configure the Cisco firewall to recognize the connection and let traffic into MacStadium Private Cloud.

Overview

Amazon provides a semi-prefilled configuration file with very detailed instructions. The configuration file must be downloaded and provide any missing information (indicated by placeholders). Afterwards, the configuration can be applied to the Cisco ASA/ASAv to complete the Site-to-Site VPN setup.

Getting Started

Amazon Configuration Download Amazon lets you download pre-filled configurations for a variety of vendors. The default firewall vendor for MacStadium private clouds is Cisco Systems, Inc.
  1. Verify that you have created a site-to-site VPN connection in Amazon.
  2. Log in to your AWS Management Console and access your VPC service.
  3. In the top right corner of the screen, make sure that you’re working in the correct region.
  4. In the VPC service sidebar, locate the Virtual Private Network menu and select Site-to-Site VPN Connections.\ AWS VPC sidebar with Site-to-Site VPN Connections option highlighted
  5. In the list, select your newly created VPN connection and click Download Configuration.\ AWS Site-to-Site VPN Connections list with Download Configuration button highlighted
  6. For Vendor, select Cisco Systems, Inc.
  7. For Platform, select ASA 5500 Series.
  8. For Software, select ASA 9.x for a policy-based VPN OR ASA 9.7 + VTI for a route-based VPN.\ AWS Download Configuration dialog with Cisco Systems vendor and ASA platform selected

Fill in the configuration blanks

Unless you have extensive experience with AWS and ASA/ASAv configurations, follow the instructions in the configuration file to the letter. Otherwise, your site-to-site VPN might not work as expected.
You need to manually replace the placeholders in the configuration file you downloaded from Amazon with the values for your MacStadium configuration. Table 1: Configuration parameters
  1. Verify that you have downloaded the configuration file from your AWS Management Console.
  2. Open the configuration file.
  3. Replace all placeholders with their respective values. Use Table 1: Configuration parameters for reference.
  4. Uncomment the line: access-list amzn-filter extended permit ip … To uncomment, remove ! at the start of the line.
  5. Uncomment the lines for object and nat configuration at the end of the config file. To uncomment, remove ! at the start of the line.
  6. Keep the following line. This ensures the SLA monitor works as expected.
  • Note that based on your network configuration and requirements, you can modify this line to map to the subnet and the subnet mask for the Private-1 network from your IP Plan. If you choose to modify this line, do not configure the <sla_monitor_address> value.
  1. On the following line, change 0.0.0.0 0.0.0.0 to a combination of the IP address and the subnet mask for your Amazon VPC.
    • You can get these values by logging in to your AWS Management Console, navigating to your VPC dashboard, selecting your VPC, and checking the Description at the bottom of the screen. You need to convert the subnet mask bit notation to the correct subnet mask (e.g., the /16 notation converts to a 255.255.0.0 subnet mask).
    • For example
  1. On the following line, change inside and outside to the names of the internal private network and the outside interface of your MacStadium private cloud, respectively, as provided in Appendix A of your IP Plan. By default, these are Private-1 and Outside, respectively.
  1. (Optional) Delete the remaining commented lines to clean up the file. Commented lines are indicated by ! at the beginning of the line.
  2. Save your changes.

Configure TCP State Bypass (Route-based VPN only)

If you selected ASA 9.7 + VTI (route-based VPN), you need to enable the TCP State Bypass feature. This allows outbound and inbound traffic to flow through separate VPN tunnels, which is required for HA VPN scenarios where both tunnels are active simultaneously. Table 2: TCP State Bypass parameters
  1. Define an access list with the source and destination networks:
  1. Create a class map to identify the traffic for which you want to disable stateful firewall inspection:
  1. Create a policy map to assign the TCP State Bypass action to the class map:
  1. Apply the policy map to your private interface:
  1. Save your changes.

Next steps

If you are ready to feed the complete configuration into your Cisco ASA/ASAv, see Setting Up the MacStadium Side of the Site-to-Site VPN.