For AI agents: the complete documentation index is available at https://docs.us.ovhcloud.com/en/llms.txt, the full documentation bundle is available at https://docs.us.ovhcloud.com/en/llms-full.txt, and this page is available as Markdown at https://docs.us.ovhcloud.com/en/account/account-information/restrict-ip-access.md.
  • English

Restrict IP access to the OVHcloud Control Panel

View as Markdown

Learn how to secure your OVHcloud account by limiting the IP addresses authorized to access it.

OVHcloud provides you with options to enhance the security of your OVHcloud Control Panel and your services.

You can restrict access to your OVHcloud Control Panel to certain IP addresses. By setting this option and securing your account with two-factor authentication, you can optimally secure your OVHcloud Control Panel against intrusion attempts.

Warning

NOTE: IP access restriction and/or two-factor authentication only secure access to the OVHcloud Control Panel from which you can order, manage, renew, or delete your OVHcloud services. These options do not secure your services themselves, for which you must implement specific security measures.

 

Requirements

 

Instructions

Step 1 - Retrieve public IP addresses authorized to access your OVHcloud Control Panel

There are two types of IP addresses:

  • Public IP addresses: They are visible throughout the Internet. For example, they are used by your Internet access point/box to provide access to public networks (Internet).
  • Private IP addresses: They are not visible on the Internet and can only be allocated in a local network. For example, your Internet box will assign a private IP address to each of the devices (computers, smartphones, tablets, etc.) connected to it. Your Internet access point/box allows these devices to use the public IP address to access the Internet. Private IP addresses are easy to recognize because they usually start with 10.X.X.X, 172.16.X.X, or 192.168.X.X (where X stands for a value between 0 and 255).

To use the IP restriction option in the OVHcloud Control Panel, you will need to enter your public IP address(es) only.

To retrieve the public IP address of a device that will be authorized to access your OVHcloud Control Panel, go to whatismyip.com (not managed by OVHcloud).

Take note of the IP address that appears, then repeat the operation for each device that will be authorized to access your OVHcloud Control Panel.

If you are using a 4G/5G network as an addition, remember to also retrieve the IP address of this network.

Warning

NOTE: Most Internet Service Providers (ISPs) allocate a dynamic IP address to your Internet access point/box. These dynamic IP addresses change when you reboot your box or every 24/48 hours. However, some ISPs may allocate static IP addresses to you on request.

For a 3G/4G/5G connection, IP addresses are systematically dynamic.

Before setting up an IP restriction on your OVHcloud Control Panel, check with your ISP to make sure that the IP addresses retrieved previously are static. Otherwise, you risk losing access to your OVHcloud Control Panel by declaring a dynamic IP.

 

Step 2 - Set up access restriction by IP

Log in to your OVHcloud Control Panel. Click on your Enable and initials in the top right corner.

When the My account page loads, click on the Security tab. Then click Enable to the right of IP access restriction.

Account IP restriction - step 1

 

Interface Overview

IP - Restrict access - step 3

There are two sections for setting IP restrictions:

  • Default rule. Use this field to:

    • Deny access to all IP addresses except those previously declared as authorised in the second section Configured IPs.

    • Allow access to all IP addresses except those previously declared as denied in the second section Configured IPs.

      Check the Alert box if you want to be notified on your contact email address whenever an unauthorized login attempt was made to access your Control Panel.

  • Configured IPs. Use this field to declare IP addresses that will be denied or authorised. You can also view the rules you have set up beforehand.

Danger

WARNING: Before continuing with your actions --

In the Default rule section, never validate the default rule in Denied status without first authorizing at least one of your public IP addresses in the Configured IPs section.

Otherwise, you will block all public IPs (including yours) without any exceptions. Any login requests to your OVHcloud Control Panel will be denied, and you will need to carry out an administrative procedure to unblock your access.

Be extremely vigilant on this point.

 

Deny all IP addresses except legitimate addresses

To authorize access to the OVHcloud Control Panel only for one or more legitimate IP addresses, click the Add a restriction button.

The IP 192.0.2.0 used in the following screenshots needs to be replaced with one of your own IP addresses.

Restrict IP access

In the window that pops up, enter the public IP address want to authorize into the IP field. Check the Alert box if you want to be notified by email of connection attempts via this IP address then leave the Rule in the Authorised status.

Click Next.

IP - Restrict access - step 4

 

Check your IP address and rule before clicking Confirm.

IP - Restrict access - step 5

 

The rule should then appear in the Configured IPs section.

IP - Restrict access - step 6

Info

Before you continue with the actions described in this step, repeat the above operation for any other IP addresses you wish to authorize to access your OVHcloud Control Panel.

Once you have set all of your public IP addresses in the Configured IPs section, switch the rule to the Denied status in the Default rule section. Select the Alert check box if you want to receive email notification of login attempts, then click Save changes.

IP - Restrict access - step 7

From now on, only public IP addresses previously authorized in the Configured IPs section can access your OVHcloud Control Panel.

 

Authorize all IP addresses except some addresses

With the IP access restriction option, you can also authorize all IP addresses to access your OVHcloud Control Panel, except for a few that you have previously identified as illegitimate.

To block access to your OVHcloud Control Panel for one or more IP addresses, click on the Add a restriction button in the Configured IPs section.

Restrict IP access

In the window that pops up, enter the public IP address you want to block in the IP field. Check the Alert box if you want to be notified by email of connection attempts via this IP address, then change the Rule to Denied.

Click Next.

IP - Restrict access - step 8

 

Check the IP address and rule before clicking Confirm.

IP - Restrict access - step 9

 

The rule should then appear in the Configured IPs section.

IP - Restrict access - step 10

Info

Before you continue with the actions described in this step, repeat the operation for any other IP addresses you wish to block from accessing your OVHcloud Control Panel.

Once you have entered all of the public IP addresses in the Configured IPs section, switch the rule to the Authorised status in the Default rule section. Select the Alert check box if you want to be notified by email of connection attempts, then click Save changes.

IP - Restrict access - step 11

From now on, all public IP addresses can access your OVHcloud Control Panel, except those declared in the Configured IPs section.

 

Go further

Browse all the Account information guides.

Browse the rest of the OVHcloud US documentation for guides on our other products and services.