Creating an Internet Gateway

Create an internet gateway (IGW) in a Virtual Cloud Network (VCN) in Networking.

Prerequisites:

  • Determine which subnets in the VCN need access to the internet, and create those public subnets.

    Only one internet gateway is needed for each VCN. All public subnets within a VCN have access to the internet gateway if the security rules and route table rules allow that access.

  • Determine the types of ingress and egress internet traffic route rules that you want to enable for the resources in each public subnet (examples: ingress HTTPS connections, ingress ICMP ping connections).
  • The required IAM policy is in place to allow you to work with Networking service resources. For administrators, see IAM Policies for Networking.
Important

If the public subnet is configured to use the default security list, remember that the list includes several helpful default rules that enable basic required access (examples: ingress SSH, egress access to all destinations). We recommend that you become familiar with the basic access that these default rules provide. If you decide not to use the default security list, be sure to provide this basic access by implementing these security rules either in network security groups (NSGs) or custom security lists. You also need to configure route rules in the route tables used by the public subnets to allow traffic to be routed to and from the internet.

Was this article helpful?