Skip to content

IPSec VPN (Site-to-Site VPN)

IPsec VPN provides encrypted site-to-site connectivity between an on-premises network and resources running in a SITE Cloud VPC.

Overview

Use IPsec VPN to connect corporate networks, data centers, branch offices, or other environments to cloud resources through encrypted tunnels.

Key Features

Feature Description
Secure site-to-site connectivity Establish encrypted communication between on-premises networks and cloud resources.
Remote subnet management Add, update, or remove remote network subnets reachable through the tunnel.
Tunnel status monitoring View the operational status of VPN tunnels.
Automatic route and firewall rule creation Automatically configure required routing and firewall settings during provisioning.

How Site-to-Site VPN Works

An IPsec VPN establishes an encrypted tunnel between a remote VPN gateway and a VPN endpoint hosted in your VPC. Traffic destined for configured remote subnets is routed through the tunnel.

Creating a VPN Connection

  1. Open IPSec VPN from Cloud Portal navigation.
  2. Click Create IPSec VPN.
  3. Enter deployment information such as business group, name, description, and region.
  4. Enter VPN configuration.
  5. Review the automatically generated routes and firewall rules.
  6. Create the VPN.

Note

VPN configuration can be skipped during creation and completed later from the VPN details page.

Configuring Tunnel Settings

Setting Description
Remote Gateway The source IP address or network allowed to establish the VPN tunnel. Supported values include a public IP address, CIDR subnet, or 0.0.0.0/0.
Remote Subnets On-premises networks reachable through the VPN tunnel. Multiple remote subnets can be configured for one VPN.
Tunnel Status Shows whether the VPN tunnel is operational.
Pre-Shared Key The PSK used for initial authentication between the IPsec VPN and customer gateway.

Warning

Use a specific remote gateway IP address whenever possible instead of 0.0.0.0/0.

Managing Remote Subnets

Remote subnets can be added or removed after the VPN is created.

To add a remote subnet:

  1. Open the VPN resource details page.
  2. Click Add Subnet.
  3. Enter the remote subnet CIDR.
  4. Optionally allow the system to create the required static route automatically.

When automatic route creation is enabled, the system creates a route with:

Route field Value
Destination Remote subnet
Next Hop VPN private IP address
Description Auto-generated route for IPsec VPN connectivity

Configuring Firewall Rules

IPSec VPN requires firewall rules to allow communication between your workloads, the VPN endpoint, and the remote network.

During provisioning, Cloud Portal can automatically create the firewall rule required between the VPN endpoint and the remote gateway. Firewall rules between your workloads and the VPN endpoint must be configured to match your application's traffic flow.

A typical deployment requires the following traffic to be permitted:

  1. Workload → VPN endpoint – Allows workloads in your VPC to send traffic through the VPN tunnel.
  2. VPN endpoint → Workload – Allows return traffic from the VPN endpoint to your workloads.
  3. VPN endpoint ↔ Remote gateway – Allows IPSec tunnel establishment and encrypted communication with the remote VPN gateway. This rule can be created automatically during VPN provisioning.

If the remote network initiates connections to your workloads, the required firewall rules should allow the corresponding traffic in the opposite direction.

Automatically created firewall rules can be modified later using the Firewall Rules service.

Managing a VPN Connection

The following settings can be modified after creation:

  • Name
  • Description
  • Business Group
  • Remote Gateway
  • Pre-Shared Key

Note

Changing the remote gateway may require corresponding firewall rule updates.

Configuring Palo Alto Firewall IPSec with SITE Cloud IPSec

To properly connect to SITE Cloud IPSec services using Palo Alto, follow these steps:

Step Action (what you do) Details (what to enter)
1. Create an IKE Crypto profile Navigate to Network ► Network Profiles ► IKE Crypto and add a new profile. • Encryption: AES‑256 CBC or AES‑256‑GCM (supported for IKEv2) • Authentication: SHA‑256 • DH Group: group 14 • Key Lifetime: 4 hours
2. Create an IKE Gateway Go to Network ► IKE Gateways and add a new gateway. 1. Protocol: IKEv2 2. Local WAN IP: your public interface address 3. Peer WAN IP: remote public address 4. Pre‑Shared Key (PSK): enter the shared secret 5. Bind IKE Crypto profile: select the profile from step 1
3. Create an IPSec Crypto profile Navigate to Network ► Network Profiles ► IPSec Crypto and add a new profile. • Protocol: ESP • Encryption: AES‑256 (CBC or GCM) • Authentication: SHA‑256 • PFS/DH Group: group 14 
4. Create a dummy tunnel interface Go to Network ► Interfaces ► Tunnel and add a new interface (e.g., tunnel.1). • Security Zone: assign to a dedicated VPN zone • Virtual Router: select the router that will handle the VPN traffic • IP address: Leave blank (no IP address is required)
5. Create the IPSec Tunnel Navigate to Network ► IPSec Tunnels and add a new tunnel. 1. Select the IKE Gateway from step 2. 2. Select the IPSec Crypto profile from step 3. 3. Proxy IDs (Traffic Selectors) tab:  – Local Subnet(s): add each of your internal networks that will be reachable over the VPN.  – Remote Subnet: set to 0.0.0.0/0.
6. Add static routes for the remote networks In Network ► Virtual Routers, edit the router used by the tunnel and add static routes. • Destination: the remote subnet(s) you defined in the Proxy ID. • Next hop: tunnel.1 (the dummy tunnel interface). This directs traffic for the remote side into the IPSec tunnel.

Configuring FortiGate Firewall IPSec with SITE Cloud IPSec

To properly connect to SITE Cloud IPSec services using FortiGate, follow these steps:

Step Action (what you do) Details (what to configure)
1. Create the IPSec tunnel (Phase 1 – IKE Gateway) Navigate to VPN ► IPSec Tunnels and click Create New → Custom. 1. Name: e.g., SITE‑Cloud‑Tunnel 2. Remote Gateway Type: Static IP address – enter the public IP that SITE Cloud has assigned to its end of the tunnel. 3. Interface: select the WAN interface that will carry the VPN traffic. 4. Remote ID: set to the identifier that SITE Cloud uses for its gateway (often the same IP or a FQDN). 5. Local ID: must match the Remote ID you entered on the SITE Cloud side. 6. Authentication Method: Pre‑Shared Key (PSK) – enter the secret supplied by SITE Cloud. 7. IKE Version: IKEv2 8. Phase‑1 Proposal: Encryption: AES‑256Authentication: SHA‑256Diffie‑Hellman Group: 14Key Lifetime: 28 800 seconds (8 hours)
2. Define Phase 2 (IPSec Transform Set) In the same tunnel wizard, scroll to Phase 2 Selectors and click Add. 1. Name: e.g., SITE‑Cloud‑Phase2 2. Local Subnet(s): specify the internal networks you want to expose to SITE Cloud (e.g., 10.10.0.0/16). 3. Remote Subnet(s): enter the remote networks behind SITE Cloud (the subnets advertised by the cloud side). 4. Phase‑2 Proposal: Encryption: AES‑256Authentication: SHA‑256Diffie‑Hellman Group: 14Key Lifetime: 43 200 seconds (12 hours)
3. Create a tunnel interface (optional but recommended for routing) After saving the tunnel, FortiGate automatically creates a virtual interface (e.g., vpn‑site‑cloud). • Ensure the interface is enabled. • Assign it to the VPN security zone (or a zone you create for site‑to‑site VPNs). • Do not assign an IP address—the interface works as a point‑to‑point tunnel.
4. Add static routes for the remote networks Go to Network ► Static Routes and click Create New. • Destination: the remote subnet(s) you entered in Phase 2. • Interface: select the tunnel interface created in step 3 (e.g., vpn‑site‑cloud). • Gateway: leave blank (the tunnel itself is the next‑hop). • Distance: default (10) is fine unless you need a lower metric.
5. Configure a security policy to allow traffic Navigate to Policy & Objects ► IPv4 Policy (or IPv6 if applicable) and click Create New. 1. Name: Allow‑Local‑to‑SITE‑Cloud 2. Incoming Interface: select the internal interface (or zone) that holds your Local Subnet. 3. Outgoing Interface: select the tunnel interface (vpn‑site‑cloud). 4. Source: your Local Subnet(s). 5. Destination: the Remote Subnet(s) announced by SITE Cloud. 6. Service: ALL (or limit to required services). 7. Action: Accept*. 8. Enable NAT: No (VPN traffic is not NAT‑ed). 9. Log Allowed Traffic: optional, but helpful for troubleshooting.

Best Practices

  • Use a specific remote gateway IP address whenever possible.
  • Configure only the remote subnets required by your workloads.
  • Review firewall rules associated with the VPN regularly.
  • Rotate pre-shared keys according to your organization's security policies.
  • Monitor tunnel status to verify that connectivity remains available.