@echo offrem 设置指定端口变量和出入站规则名称set INPUT_RULE_NAME=ZW-INset OUT_RULE_NAME=ZW-OUTset PORT=27700,27701,27702,3316,7998,7999rem 创建入站规则echo Input Rulenetsh advfirewall firewall show rule name=%INPUT_RULE...