阿里云安全组常见的通用设置
发布时间:2024-03-20
|
浏览次数:2378次
描述
服务器购买后经常就需要对外开放一些常见的端口,比如像mysql的3306端口,redis的6379端口等。可以直接复制本文的json直接导入,省去一个个添加的环节
详情
[{ "SourceCidrIp": "0.0.0.0/0", "DestCidrIp": "", "Description": "", "NicType": "intranet", "DestGroupName": "", "PortRange": "888/888", "DestGroupId": "", "Direction": "ingress", "Priority": 1, "IpProtocol": "TCP", "SourcePortRange": "", "SourceGroupOwnerAccount": "", "Policy": "Accept", "CreateTime": "2018-01-20T01:13:04Z", "SourceGroupId": "", "DestGroupOwnerAccount": "", "SourceGroupName": "" }, { "SourceCidrIp": "0.0.0.0/0", "DestCidrIp": "", "Description": "", "NicType": "intranet", "DestGroupName": "", "PortRange": "6379/6379", "DestGroupId": "", "Direction": "ingress", "Priority": 1, "IpProtocol": "TCP", "SourcePortRange": "", "SourceGroupOwnerAccount": "", "Policy": "Accept", "CreateTime": "2018-01-08T11:54:35Z", "SourceGroupId": "", "DestGroupOwnerAccount": "", "SourceGroupName": "" }, { "SourceCidrIp": "0.0.0.0/0", "DestCidrIp": "", "Description": "", "NicType": "intranet", "DestGroupName": "", "PortRange": "8888/8888", "DestGroupId": "", "Direction": "ingress", "Priority": 1, "IpProtocol": "TCP", "SourcePortRange": "", "SourceGroupOwnerAccount": "", "Policy": "Accept", "CreateTime": "2018-01-08T11:54:06Z", "SourceGroupId": "", "DestGroupOwnerAccount": "", "SourceGroupName": "" }, { "SourceCidrIp": "0.0.0.0/0", "DestCidrIp": "", "Description": "", "NicType": "intranet", "DestGroupName": "", "PortRange": "30000/40000", "DestGroupId": "", "Direction": "ingress", "Priority": 1, "IpProtocol": "TCP", "SourcePortRange": "", "SourceGroupOwnerAccount": "", "Policy": "Accept", "CreateTime": "2018-01-08T11:53:30Z", "SourceGroupId": "", "DestGroupOwnerAccount": "", "SourceGroupName": "" }, { "SourceCidrIp": "0.0.0.0/0", "DestCidrIp": "", "Description": "", "NicType": "intranet", "DestGroupName": "", "PortRange": "21/21", "DestGroupId": "", "Direction": "ingress", "Priority": 1, "IpProtocol": "TCP", "SourcePortRange": "", "SourceGroupOwnerAccount": "", "Policy": "Accept", "CreateTime": "2018-01-08T11:51:30Z", "SourceGroupId": "", "DestGroupOwnerAccount": "", "SourceGroupName": "" }, { "SourceCidrIp": "0.0.0.0/0", "DestCidrIp": "", "Description": "mysql", "NicType": "intranet", "DestGroupName": "", "PortRange": "3306/3306", "DestGroupId": "", "Direction": "ingress", "Priority": 1, "IpProtocol": "TCP", "SourcePortRange": "", "SourceGroupOwnerAccount": "", "Policy": "Accept", "CreateTime": "2017-11-25T11:32:02Z", "SourceGroupId": "", "DestGroupOwnerAccount": "", "SourceGroupName": "" }, { "SourceCidrIp": "0.0.0.0/0", "DestCidrIp": "", "Description": "", "NicType": "intranet", "DestGroupName": "", "PortRange": "80/80", "DestGroupId": "", "Direction": "ingress", "Priority": 1, "IpProtocol": "TCP", "SourcePortRange": "", "SourceGroupOwnerAccount": "", "Policy": "Accept", "CreateTime": "2017-10-15T03:14:46Z", "SourceGroupId": "", "DestGroupOwnerAccount": "", "SourceGroupName": "" }, { "SourceCidrIp": "0.0.0.0/0", "DestCidrIp": "", "Description": "", "NicType": "intranet", "DestGroupName": "", "PortRange": "443/443", "DestGroupId": "", "Direction": "ingress", "Priority": 1, "IpProtocol": "TCP", "SourcePortRange": "", "SourceGroupOwnerAccount": "", "Policy": "Accept", "CreateTime": "2017-10-15T03:14:46Z", "SourceGroupId": "", "DestGroupOwnerAccount": "", "SourceGroupName": "" }]