You can modify the IP addresses of origin servers only for manually created forwarding rules. You cannot perform this operation on automatically generated rules. To modify the IP address of an origin server, you can edit the forwarding rule. If the forwarding protocol and port of a rule are changed, we recommend that you create a forwarding rule. This topic describes how to edit one or more forwarding rules.

Prerequisites

Forwarding rules are created for the Anti-DDoS Pro or Anti-DDoS Premium instance. For more information, see Create forwarding rules.

Edit a forwarding rule

  1. Log on to the Anti-DDoS Pro console.
  2. In the top navigation bar, select the region of your Anti-DDoS instance.
    • Mainland China: Anti-DDoS Pro
    • Outside Mainland China: Anti-DDoS Premium
  3. In the left-side navigation pane, choose Provisioning > Port Config.
  4. On the Port Config page, select the instance that you want to manage.
  5. Find the rule that you want to edit and click Edit in the Actions column.
    Note If you use Anti-DDoS Pro, you can edit multiple rules at a time. For more information, see Edit multiple forwarding rules at a time.
  6. In the Edit Rule dialog box, change the value of Origin Server IP and click Complete.Edit a rule
    After you change the IP address of the origin server in a rule, Anti-DDoS Pro or Anti-DDoS Premium forwards service traffic based on the new rule.

Edit multiple forwarding rules at a time

Note Only Anti-DDoS Pro allows you to edit multiple forwarding rules at a time.
  1. Log on to the Anti-DDoS Pro console.
  2. In the top navigation bar, select Mainland China.
  3. In the left-side navigation pane, choose Provisioning > Port Config.
  4. On the Port Config page, select the Anti-DDoS Pro instance that you want to manage, click Batch Operation below the rule list, and select Edit Rule.
  5. In the Edit Rule dialog box, enter new information for the rules and click OK.Edit multiple forwarding rules at a time
    The format is described as follows:
    • Each row represents a rule.
    • From left to right, the fields in each rule indicate the following parameters: forwarding protocol, forwarding port, origin server port, and origin server IP address. Fields are separated with spaces. For more information about the parameters, see rule parameters.
    Note You can only modify the IP addresses of origin servers.
  6. Confirm the entered information, select the rules that you want to edit, and click OK.Edit forwarding rules
  7. Close the Edit Rule dialog box.