删除防火墙:netsh advfirewall firewall delete rule name=%gate_rule_name%
添加防火墙:netsh advfirewall firewall add rule name=%gate_rule_name% dir=in action=allow remoteip=127.0.0.1/32 localport=%gate_server_port% protocol=tcp
改变防火墙:netsh advfirewall firewall set rule name=gate_%port% new remoteip=any