When making IPsec site-to-site VPN connections, connecting parties often require the encryption domain they connect to through VNS3 to use Public IPs as the encryption domain. This request is typical when connecting to a telecommunication partner. Using public IPs as the remote encryption domains ensures no address overlap between internal and other remote connections.ScenarioThe third party is requiring a unique public IP for the "Gateway IP", but then also another public IP for the "encryption domain". The connecting partner won't take ANY private IPs in their tunnel definitions. Can VNS3 solve this problem?SolutionYes, this is something we do all the time, and is fairly straightforward to set up.Depending on the complexity of your use-case our VNS3:vpn (Formerly VNS3 Free Edition) might do it for you, and at least will let you see how it works.Here is the gist:Let's pretend the network behind your customer's device is:10.10.0.0/16And their IPsec device is 188.8.131.52Let's pretend your VNS3 Overlay Network is:172.16.0.0/22And your VNS3 instance gets an EIP of 184.108.40.206You make the basic IPsec endpoint connection between your 220.127.116.11 - 18.104.22.168The problem is they won't talk to your host at 172.16.0.17 on your 172.16.0.0/22 Overlay Network (for example).What you do is, in another VPC, preferably a separate AWS account, allocate an EIP but DO NOT associate it to anything. Leave it there, and alone "forever". Let's pretend you received 22.214.171.124.Now use that public IP in VNS3 to define the endpoint to the partner's IPsec device.So instead of trying to create tunnel/cryptomap/policy from172.16.0.17/32 - 10.10.0.0/16you will do:126.96.36.199/32 - 10.10.0.0/16Then in a simple operation in the VNS3 Firewall we "netmap" the inbound traffic for 188.8.131.52 to 172.16.0.17/32 and back again on the way out. Example below:PREROUTING_CUST -s 10.10.0.0/16 -d 184.108.40.206/32 -j NETMAP --to 172.16.0.17/32POSTROUTING_CUST -s 172.16.0.17/32 -d 10.10.0.0/16 -j NETMAP --to 220.127.116.11/32NOTE: in the event you are using the unencrypted underlay VLAN for your cloud network as an alternative to the unencrypted Overlay Network, simple include this additional rule in the VNS3 firewall:FORWARD_CUST -j ACCEPTProblem solved!