VPN configuration example: AWS VPC
This page provides more specific values for configuring a VPN connection between Skytap and an AWS VPC. It contains sample VPN configuration parameters to enter on the Skytap VPN page, as well as the configuration values to enter in your AWS account.
For general information about the configuration process for each side of the VPN connection, first see:
Sample VPN configuration
In your AWS account:
Follow the instructions at Setting Up an AWS VPN Connection.
Use the following values for the Customer Gateway,
- Routing: Static
- IP address: Enter the static public IP address that is (or will be) associated with your Skytap VPN. This is either automatically assigned when you click Create VPN in Skytap, or you can manually select from the available static public IP addresses in your Skytap account.
Use the following values for the VPN connection:
- Routing option: Static
- Static IP prefixes: Enter the subnet range for the IP addresses you want to access in your Skytap account. This value must match the Skytap subnet range defined in your Skytap VPN configuration.
- Download the VPN configuration file. This contains the pre-shared key you’ll need to enter in the Skytap VPN configuration page.
- Note the Outside IP Address from the Tunnel Details tab for the VPN connection. This is the Remote Peer IP value for the Skytap VPN configuration.
Edit your Route Tables and Security Groups to allow traffic from the VPN connection you set up. For example:
Create a Route and set the following values:
- Destination: One of the Skytap subnet ranges defined in the VPN Static IP prefixes field of the VPN connection.
- Target: The AWS Virtual Private Gateway you created earlier.
Create a Security Group and allows incoming traffic over all ports for IP addresses in the Skytap subnet ranges.
Traffic cannot flow through the VPN unless it is explicitly allowed.
Skytap VPN configuration
Parameters to enter on your Skytap VPN page:
Value to enter
Name for your Skytap VPN
Remote Peer IP
Enter the Outside IP Address from the Tunnel Details tab of the AWS VPN connection.
N/A. This is automatically populated when you select a public IP address for the Skytap peer IP field (see below).
Skytap peer IP
An available public IP address in your Skytap account. Select a public IP address in the same region as the VMs you want to connect to.
This value is entered in the IP address field of the Remote Gateway in your AWS account.
This is the range of VM IP addresses in Skytap that sends and receives traffic through this VPN. This cannot overlap with the included remote subnet(s) defined below.
This must match the value in the Static IP prefixes field of the AWS VPN connection.
Apply NAT for Connected Networks
Phase 1 Encryption Algorithm
Phase 1 Hash Algorithm
Phase 1 pre-shared Key
[SHARED SECRET KEY]
This must match the pre-shared key in the VPN configuration file you downloaded from AWS.
Phase 1 SA lifetime
Phase 1 DH group
Phase 2 encryption algorithm
Phase 2 authentication algorithm
Phase 2 perfect forward secrecy (PFS)
Phase 2 PFS group
Phase 2 SA lifetime
SA policy level
Specify maximum segment size
Maximum segment size
Dead peer detection
Included remote subnets
Enter the IP addresses and subnets on your AWS VPC that will send and receive traffic through this VPN.
The subnet(s) should be based on the traffic allowed by your AWS Route Tables and Security Groups.
Excluded remote subnets
Subset of IP addresses and subnets on the AWS VPC that should be excluded from using the VPN tunnel. This is used only to define exclusions for VPN traffic from larger included remote subnets (defined above).