Last update at :2024-05-19,Edit by888u
Alibaba Cloud ECS By default, the ECS cloud server disables the firewall and uses its own security group. However, many friends are unfamiliar with this even if they are exposed to VPS. In this article, we will teach you how to use Alibaba Cloud ECS Open ports in the security group:
Where to set up security groups
First we need to know where to set up, enter the security group configuration, select the ECS server that needs to be configured – Security Group of this instance – Configuration Rules
Open all ports
For those who need to use Linux’s built-in firewall, for example, the Pagoda panel will automatically open the firewall for us. We can open all ports so that the security group will not affect our Linux settings
Mainly add 2 rules,
1. Open all ports in the inbound direction
2. Open all ports in the outbound direction
After adding the above two rules, all security groups will be released, and you will no longer receive any impact at this time
Open specific ports
Some friends think that security groups are very useful, so you can use them as your default firewall. Here is how to open ports in a specific range
For example, we sometimes use ports between 20-25, and we open them
The port range is the port you need to open. For example, 20/25 means ports 20, 21, 22, 23, 24, and 25
If you only want to open one port such as port 22, you can use 22/22
Then you need to pay attention to the authorization object. Generally, 0.0.0.0/0 is selected, which means that all IPs can be accessed
Recommended site searches: free stable space, Hong Kong cloud host, query IP address, Hong Kong server rental 99idc, icp registration website, domain name registration number query, mainland China registration-free space, Hong Kong server recommendation, cloud host rental, cc domain name,
发表评论