Scenario
An on-premises data center of a customer connects to the Kingsoft Cloud NAT service through VPN Connections and then can access the Internet through NAT IP addresses.
Procedure
Connect to NAT
- Create a route on the on-premises data center side. The destination of the route is a VPC CIDR block (such as 10.9.0.0/16) and the next hop is a VPN tunnel.
- Log in to the VPN Connections console.
- In the left navigation pane, click VPN Tunnel.
- Select the target VPN tunnel.
- In the lower pane that appears, click Extra CIDR Block and then click Edit to add the VPC CIDR block.
- Click Available NAT, and then click Bind NAT to add the NAT instance that needs to be bound.
Disconnect from NAT
- Select the target VPN tunnel.
- In the lower pane that appears, click Available NAT.
- Select the target NAT instance and then click Unbind.