Fortinet white logo
Fortinet white logo

GCP Administration Guide

Creating a GCP route table

Creating a GCP route table

When you created your VPC networks, GCP automatically created several route tables. You must create one additional route table, which allows the protected network to use the FortiGates as the default gateway.

To create a GCP route table:
  1. In the GCP console, click the primary FortiGate's instance details and note the IP address assigned to the protected network interface, nic1 if you followed the order of interface creation previously covered in this guide.

  2. Go to VPC Networks > Routes, then click CREATE ROUTE.
  3. In the Name field, enter the route table name.
  4. From the Network dropdown list, select the protected network.
  5. In the Destination field, enter 0.0.0.0/0.
  6. In the Priority field, enter 10. You can set this to any number less than 1000, which is the default priority for the GCP default route table. This ensures you route all traffic from the protected network through the FortiGate before leaving the VPC.
  7. From the Next hop dropdown list, select Specify an IP address.
  8. In the Next hop IP address field, enter the IP address of the FortiGate interface assigned to the protected network. In this example, the IP address is 10.0.2.10, but your IP address may be different.
  9. Click Create.

Creating a GCP route table

Creating a GCP route table

When you created your VPC networks, GCP automatically created several route tables. You must create one additional route table, which allows the protected network to use the FortiGates as the default gateway.

To create a GCP route table:
  1. In the GCP console, click the primary FortiGate's instance details and note the IP address assigned to the protected network interface, nic1 if you followed the order of interface creation previously covered in this guide.

  2. Go to VPC Networks > Routes, then click CREATE ROUTE.
  3. In the Name field, enter the route table name.
  4. From the Network dropdown list, select the protected network.
  5. In the Destination field, enter 0.0.0.0/0.
  6. In the Priority field, enter 10. You can set this to any number less than 1000, which is the default priority for the GCP default route table. This ensures you route all traffic from the protected network through the FortiGate before leaving the VPC.
  7. From the Next hop dropdown list, select Specify an IP address.
  8. In the Next hop IP address field, enter the IP address of the FortiGate interface assigned to the protected network. In this example, the IP address is 10.0.2.10, but your IP address may be different.
  9. Click Create.