Updated on 2026-11-23 GMT+08:00

Modifying a DNAT Rule

Scenarios

After a DNAT rule is added, you can modify parameters in the DNAT rule as required.

Before modifying a DNAT rule, ensure that you understand the potential impact of this operation to avoid network interruptions caused by misconfiguration. For details, see Notes and Constraints.

Prerequisites

A DNAT rule has been added to the public NAT gateway.

Procedure

  1. Go to the public NAT gateway list page.
  2. Click the name of the public NAT gateway.
  3. On the public NAT gateway details page, click the DNAT Rules tab.
  4. In the DNAT rule list, locate the DNAT rule you want to modify and click Modify in the Operation column.
  5. In the displayed dialog box, modify parameters as needed.

  6. Click OK.
  7. Go to the DNAT Rules tab and view the modified DNAT rule information.