分享我的配置规则,已经加了FTP,8080,MYSQL等进去了。
将以下代码,保存到记事本,另存为文件:ecs_cn.json
然后去阿里云控制台导入就好了。
- [{"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-08-02T11:43:50Z","SourceGroupId":"","DestGroupOwnerAccount":"","SourceGroupName":""},{"SourceCidrIp":"0.0.0.0/0","DestCidrIp":"","Description":"","NicType":"intranet","DestGroupName":"","PortRange":"20/21","DestGroupId":"","Direction":"ingress","Priority":1,"IpProtocol":"TCP","SourcePortRange":"","SourceGroupOwnerAccount":"","Policy":"Accept","CreateTime":"2018-08-02T11:43:24Z","SourceGroupId":"","DestGroupOwnerAccount":"","SourceGroupName":""},{"SourceCidrIp":"0.0.0.0/0","DestCidrIp":"","Description":"","NicType":"intranet","DestGroupName":"","PortRange":"3306/3306","DestGroupId":"","Direction":"ingress","Priority":1,"IpProtocol":"TCP","SourcePortRange":"","SourceGroupOwnerAccount":"","Policy":"Accept","CreateTime":"2018-08-02T11:34:27Z","SourceGroupId":"","DestGroupOwnerAccount":"","SourceGroupName":""},{"SourceCidrIp":"0.0.0.0/0","DestCidrIp":"","Description":"","NicType":"intranet","DestGroupName":"","PortRange":"8080/8080","DestGroupId":"","Direction":"ingress","Priority":1,"IpProtocol":"TCP","SourcePortRange":"","SourceGroupOwnerAccount":"","Policy":"Accept","CreateTime":"2018-08-02T11:08:52Z","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":"2018-08-02T11:08:18Z","SourceGroupId":"","DestGroupOwnerAccount":"","SourceGroupName":""},{"SourceCidrIp":"0.0.0.0/0","DestCidrIp":"","Description":"System created rule.","NicType":"intranet","DestGroupName":"","PortRange":"3389/3389","DestGroupId":"","Direction":"ingress","Priority":110,"IpProtocol":"TCP","SourcePortRange":"","SourceGroupOwnerAccount":"","Policy":"Accept","CreateTime":"2018-08-02T08:26:17Z","SourceGroupId":"","DestGroupOwnerAccount":"","SourceGroupName":""},{"SourceCidrIp":"0.0.0.0/0","DestCidrIp":"","Description":"System created rule.","NicType":"intranet","DestGroupName":"","PortRange":"443/443","DestGroupId":"","Direction":"ingress","Priority":110,"IpProtocol":"TCP","SourcePortRange":"","SourceGroupOwnerAccount":"","Policy":"Accept","CreateTime":"2018-08-02T08:26:17Z","SourceGroupId":"","DestGroupOwnerAccount":"","SourceGroupName":""},{"SourceCidrIp":"0.0.0.0/0","DestCidrIp":"","Description":"System created rule.","NicType":"intranet","DestGroupName":"","PortRange":"-1/-1","DestGroupId":"","Direction":"ingress","Priority":110,"IpProtocol":"ICMP","SourcePortRange":"-1/-1","SourceGroupOwnerAccount":"","Policy":"Accept","CreateTime":"2018-08-02T08:26:16Z","SourceGroupId":"","DestGroupOwnerAccount":"","SourceGroupName":""},{"SourceCidrIp":"0.0.0.0/0","DestCidrIp":"","Description":"System created rule.","NicType":"intranet","DestGroupName":"","PortRange":"22/22","DestGroupId":"","Direction":"ingress","Priority":110,"IpProtocol":"TCP","SourcePortRange":"","SourceGroupOwnerAccount":"","Policy":"Accept","CreateTime":"2018-08-02T08:26:16Z","SourceGroupId":"","DestGroupOwnerAccount":"","SourceGroupName":""}]
复制代码 |