Cloud Edge Secure Access Getting Started Guide
- Cloud Edge Secure Access
- Welcome to SonicWall Cloud Edge!
- Prerequisites
- Installation
- Networks
- Groups and Members
- Securing the Platform
- Monitoring
- Compliance
- SonicWall Support
AWS Virtual Gateway
This article describes how to establish a Site-To-Site IPSec VPN connection between your AWS server and the SonicWall Cloud Edge network.
- Configuring the tunnel in the AWS Console
- Configuring a virtual private gateway
- Creating a virtual private network connection
- Configuring the tunnel in your Management Platform
Please follow the steps below:
Configuring the tunnel in the AWS Console
- Go to the VPC section in the AWS Console.
-
Under Services, scroll down to Networking & Content Delivery and select VPC.
-
Under the left menu VPN section, go to Customer Gateways.
- Select Create Customer Gateway.
- Select static routing.
-
Fill in the IP Address of the SonicWall Cloud Edge gateway. This can be obtained within the SonicWall Cloud Edge panel, under Networks.
-
Select Create Customer Gateway. A message should display indicating the gateway was created successfully.
Configuring a virtual private gateway
If you already have a virtual private gateway attached to your VPC, skip this section and continue at Creating a virtual private network connection.
-
Go back to Services, scroll down to Networking & Content Delivery, and select VPC.
-
On the left side, under Virtual Private Network (VPN) select Virtual Private Gateways.
-
Select Create Virtual Private Gateway.
- Type the name of the gateway (for example US_HQ ).
- Select ASN as Amazon default ASN.
-
Select Create Virtual Private Gateway.
A message should display indicating that the virtual Private Gateway was created successfully.
-
Select the newly created gateway and select Actions; on the context menu select Attach to VPC.
- From the drop-down menu, select the VPC and select Yes, Attach.
Creating a virtual private network connection
-
Under Virtual Private Network in the left menu, go to Site-to-Site VPN Connections.
-
Select Create VPN Connection.
- Enter the name tag (for example US_HQ).
- Select the created Virtual Private Gateway.
- Under Customer Gateway, select Existing.
- Select the Customer Gateway that you have created.
- Under Routing Options, select Static.
-
Fill in the following Static IP Prefixes: 10.XXX.0.0/16 (according to your SonicWall Cloud Edge network subnet)
This address might differ in case you haven't chosen the default subnet mask for your tunnel.
-
Under Tunnel Options leave the default values as is.
Tunnel option
AWS supports various types of Encryptions and hash formats for both of the tunnels they are offering, if the tunnel options are set to default (as shown below) it will accept any encryption suite you'd like for the handshake with SonicWall Cloud Edge.
In this screen you can also select the inside subnets you would like to connect via the tunnel.
-
Select Create VPN Connection.
- A message should display indicating that a VPN Connection Request was created successfully.
Configuring the routing rules to the default gateway
-
Select the VPC section in the AWS Console and enter the Route table associated with your VPC.
-
For the Route Tables menu option, select the routing table that is associated with the VPC you have created for the tunnel.
-
Select Edit and add the new static routes for the subnets below:
Fill in 10.2xx.0.0/16 (SonicWall Cloud Edge network subnet listed in the SonicWall Cloud Edge web portal, in Networks > Gateway > Settings) at the destination field and your new VPN Gateway ID as the target (it will appear under the subcategory Virtual Private Gateway). -
Select Save.
In case have a customized security group associated with your VPC:
Allow incoming connections from the local network within your security groups: Configure your AWS security groups to allow all traffic from SonicWall Cloud Edge subnets (10.2xx.0.0/16) or allow only special traffic using the port or services from these sources.
Configuring the tunnel in your Platform
-
Return to Site-to-Site VPN Connections and select Download Configuration.
-
Fill in the following information, and download the config file:
Examining the configuration file, you may notice that AWS has created two separate tunnels for the same VPN connection, however, SonicWall Cloud Edge utilizes only one of them. You may randomly choose any of the two, but for consistency purposes and in order to avoid possible confusion we advise you to use the one that appears first in the file.
-
Go to the Management Platform. Under the Networks tab in the left menu, select the name of the network where you'd like to set the tunnel.
- Locate the desired gateway, select the three-dotted menu (...), select Add Tunnel, and then IPSec Site-2-Site Tunnel.
-
Open the configuration file that you have downloaded. Fill in the following fields according to the file's content: Public IP, Remote ID (both identical; marked in red in the attached example) and Shared Secret (marked in yellow; remember to omit the quotation marks).
-
The rest of the fields should be filled in with the following information:
- Name: Enter the name you chose for the tunnel.
- SonicWall Cloud Edge Gateway Proposal Subnets: By default, this should be set to 10.2xx.0.0/16.
-
Remote Gateway Proposal Subnets: Select specified Subnets. Insert your VPC CIDR.
-
At the Advanced Settings section fill in the following information if you selected the default tunnel options on AWS:
- IKE Version: V2
- IKE Lifetime: 8h
- Tunnel Lifetime: 1h
- Dead Peer Detection Delay: 10s
- Dead Peer Detection Timeout: 30s
- Encryption(Phase 1): aes256
- Encryption(Phase 2): aes256
- Integrity (Phase 1): sha512
- Integrity (Phase 2): sha512
- Diffie-Hellman Groups (Phase 1): 21
- Diffie-Hellman Groups (Phase 2): 21
-
Select Add Tunnel.
Troubleshooting the connection
-
To verify the tunnel is UP, check your SonicWall Cloud Edge interface for the Green dot next to the tunnel:
- You can check the tunnel routes via "Routes Table" inside the SonicWall Cloud Edge network
-
Even if the tunnel state is UP, you may still not be able to reach your VPC via the tunnel, further steps to verify AWS reachability may include:
- Checking the route table that's associated with your VPC for a route that pushes traffic from the internal range for SonicWall Cloud Edge to the VPG
- Checking the route table that's associated with the specific Subnet you are trying to access (if different from the main VPC route table)
- Check to see if you have a Security Group that allows traffic from the internal range for SonicWall Cloud Edge to your AWS resource
Was This Article Helpful?
Help us to improve our support portal