VPC: private gateway
Connect your VPC directly to a private network, such as your own data centre, bypassing the internet.
Add a private gateway
A private gateway connects your VPC directly to a private network, bypassing the internet. You can add several private gateways to the same VPC.
- Open your VPC and click the settings icon.
- Select Private Gateways and click Add new gateway.
- Specify:
- IP address, Gateway and Netmask for the connection.
- Source NAT: enable this if several VPCs with the same address range need to reach the same private network without an address conflict.
- Associated network: the L2 or isolated network the private gateway is attached to -- the gateway uses the same VLAN as that network.
- ACL: governs traffic to and from the gateway. All traffic is blocked by default until you choose a different ACL.
Change the ACL on a private gateway
- Find the private gateway under Private Gateways.
- Click Replace ACL (from the quick view, or the Details tab).
- Choose the ACL you want and click OK.
Create a static route
If you use a VPN connection through the private gateway, you can specify which traffic should be routed back through it.
- Open the private gateway you want to work with.
- Select the Static Routes tab.
- Enter the destination network's CIDR and click Add.