---
title: "Create Gateway"
canonical: "https://docs.infoblox.com/space/DeploymentGuidevNIOSforOCI/1557463284/Create%20Gateway"
format: markdown
---
Next, we will create a gateway and configure route tables to allow communication outside of the VCN. For this guide, we create an Internet Gateway to allow communication over the public Internet. If you are using a VPN or FastConnect between your on-premises and OCI networks, you will need to create a Dynamic Routing Gateway instead.

1. From the VCN Details page, select **Internet Gateways** under resources.
2. Click on **Create Internet Gateway**.

![image-20250526-083859.png](media://0d50a7a3-4674-467a-8704-d94ee796a209)

3. In the Create Internet Gateway window, enter a name for your gateway.

4. If needed, use the dropdown to select the compartment where you will create the gateway.
5. Click on **Create Internet Gateway**.

![image-20250526-083919.png](media://aee58066-f898-42f4-8eb7-17fb14783264)

6. From the VCN Details page, select **Route Tables** under resources.

7. Select the route table which you assigned to your subnets. For this guide, we are using the **Default Route Table**.

![image-20250526-083943.png](media://ec5fca1d-35db-4aa5-8f40-4f522db2c56d)

8. On the Route Table Details page, click on **Add Route Rules**.

![image-20250526-084002.png](media://a9e72bb0-b3a2-4910-89ed-cc1635bb54c1)

9. Use the Target Type dropdown to select **Internet Gateway**.

10.   Enter a Destination CIDR Block. For example, **0.0.0.0/0**.

11.   Use the Target Internet Gateway dropdown to select the gateway you created for this VCN.

12.   Click **Add Route Rules**.

![image-20250526-084018.png](media://4beec86e-6562-46f3-9ed6-b2e995affc81)