Skip to main content
Configure the default gateway for the cloud server
Last update:

Configure the default gateway for the cloud server

If multiple network interfaces are used on the cloud server, you can assign a specific interface as the default gateway.

note

For example, a cloud server has two network interfaces: the first is the IP address of the private subnet, and the second is the IP address of the public subnet to access the Internet. The first interface can be used as the default network interface, then the server will not have access to the Internet. To change the interface to the second (public) interface, you must set the public subnet port as the default gateway for the cloud server.

  1. In the Control panel, on the top menu, click Products and select Cloud Servers.

  2. Open the server page → Ports tab.

  3. From the port's menu, select Make Default Gateway.

  4. From the server's menu, select Program Restart.