- 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
- Give a Profile Name
- Enable this profile
- Select the WAN interface
- Select Dial-Out for Call Direction
- (Optional) Tick Always On
Dial-Out setting(version 4.x.x)
- Select IPsec Tunnel
- Enter VPN server's WAN IP or domain name
- Input IKE Pre-Shard Key
- 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)
- Select IPsec Tunnel
- Enter VPN server's WAN IP or domain name
- Input IKE Pre-Shard Key
TCP/IP Network Settings
- Enter the IP that VPN server requests at My WAN IP (In this example, the IP will be 172.16.2.129.)
- Enter VPN Server’s LAN network at Remote Network IP
- Select NAT
- 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.
