• nat, DrayOS 4, imported, ipsec_vpn, lan_to_lan, connection_management, remote_network

Apply NAT inside IPsec VPN to match Remote Network's Firewall Policy (DrayOS4)

On VPN Client site

1. Go to VPN and Remote Access >> LAN to LAN, click any index to create a profile.

2. In the profile,

Common settings

  1. Give a Profile Name
  2. Enable this profile
  3. Select the WAN interface
  4. Select Dial-Out for Call Direction
  5. (Optional) Tick Always On

Dial-Out setting(version 4.x.x)

  1. Select IPsec Tunnel
  2. Enter VPN server's WAN IP or domain name
  3. Input IKE Pre-Shard Key
  4. Enter the IP that VPN server requests at My WAN IP (In this example, the IP will be 172.16.2.129.)

Dial-Out setting(version 3.x.x)

  1. Select IPsec Tunnel
  2. Enter VPN server's WAN IP or domain name
  3. Input IKE Pre-Shard Key

TCP/IP Network Settings

  1. Enter the IP that VPN server requests at My WAN IP (In this example, the IP will be 172.16.2.129.)
  2. Enter VPN Server’s LAN network at Remote Network IP
  3. Select NAT
  4. Click OK

3. Go to VPN and Remote Access >> Connection Management and click Dial.

On VPN Server site

Here comes the difference with/without the client Local Network translating.

1. Without the VPN client Local Network translating: The Status will show the Virtual Network as VPN Client ’s LAN network. In this example, it is 192.168.1.1/24.

2. With the VPN client Local Network translating: The Status will show the Virtual Network as VPN Client ’s translated single IP. In this example, it is 172.16.2.129/32.