Help Center> Data Admin Service> FAQs> Managing connections> How Do I View and Modify Firewall Rules?
Updated on 2023-12-07 GMT+08:00

How Do I View and Modify Firewall Rules?

  1. In the ECS list, locate the required ECS and click Remote Login.
  2. Enter the username and password. After the login is successful, run the following command to check the iptables configuration:

    iptables -S
    • The port next to --dport indicates the port that can be accessed.
    • Perform the following operations to ensure that the port can be accessed:
      • Add an iptables rule to allow access to the port.
      • Run the following command to disable the firewall:
        systemctl stop iptables

Managing connections FAQs

more