Aviatrix Gateway to Juniper SRX

This document describes how to build an IPSec tunnel based site2cloud connection between Aviatrix Gateway and JuniperSRX Firewall.

Network setup is as following:

VPC-multicloudvpc1 (with Aviatrix Gateway)

VPC CIDR: 10.1.1.0/16

VPC Public Subnet CIDR: 10.1.1.0/24

VPC Private Subnet CIDR: 10.1.2.0/24

On-Prem (with Juniper SRX Firewall)

On-Prem Network CIDR: 10.0.0.0/16

On-prem Public Network CIDR: 10.0.3.0/24

On-prem Private Network CIDR: 10.0.2.0/24

1. Create Site2Cloud Connection at Aviatrix Controller

1.1 Go to Gateway->New Gateway to launch an Aviatrix Gateway at the public subnet of VPC-multicloudvpc1. Collect Gateway’s public IP addresses (3.213.233.93 in this example).
image1

1.2 Go to site2cloud page and click Add New to create a site2cloud connection.

Field Value
VPC ID/VNet Name Choose VPC ID of VPC- multicloudvpc1
Connection Type Unmapped
Connection Name Arbitrary (e.g. avx-SRX-S2C)
Remote Gateway Type Generic
Tunnel Type UDP
Algorithms Uncheck this box
Encryption over DirectConnect Uncheck this box
Enable HA Uncheck this box
Primary Cloud Gateway Select Aviatrix Gateway created above
Remote Gateway IP Address Public IP of Juniper SRX WAN port (18.214.241.32 in this example)
Pre-shared Key Optional (auto-generated if not entered)
Remote Subnet 10.0.2.0/16 (On-Prem Private Network CIDR)
Local Subnet 10.1.2.0/24 (VPC-multicloudvpc1 private subnet)
1.3 Go to site2cloud page. From site2cloud connection table, select the connection created above (e.g. avx-SRX-S2C).
  • Select Generic from Vendor drop down list
  • Click Download Configuration button to download the SRX site2cloud configuration
  • Save the configuration file as a reference for configuring your Juniper SRX

image2

The following is a SRX sample configuration based on the site2cloud configuration above.

image3

2. Configure JuniperSRX

Apply the following configuration to your SRX:

3. Troubleshooting and Verifying at Aviatrix Controller

3.1 At Aviatrix Controller, go to Site2Cloud page. Verify the status of the site2cloud connection is up.
image4

3.2 At Site2Cloud - Diagnostics page, run various diagnostics commands.

Field Value
VPC ID/VNet Name VPC- multicloudvpc1 (Aviatrix Gateway VPC) ID
Connection Name of site2cloud connection created at Step 2
Gateway Name of Aviatrix Gateway
Action One of the supported diagnostics commands