分享我的配置規(guī)則,已經(jīng)加了FTP,8080,MYSQL等進(jìn)去了。
將以下代碼,保存到記事本,另存為文件:ecs_cn.json
然后去阿里云控制臺(tái)導(dǎo)入就好了。
- [{"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":""}]
復(fù)制代碼 |