nsExec::Exec '"cmd.exe" /c netsh advfirewall firewall add rule name="SGAccessInboundRule" protocol=tcp dir=in action=allow localport=8061,18061'
;nsExec::Exec '"cmd.exe" /c netsh advfirewall firewall delete rule name="SGAccessInboundRule" dir=in'
;nsExec::Exec '"cmd.exe" /c netsh advfirewall firewall add rule name="SGAccessInboundRule" protocol=tcp dir=out action=allow localport=8061'
;nsExec::Exec '"cmd.exe" /c netsh advfirewall firewall delete rule name="SGAccessInboundRule" dir=out'
;nsExec::Exec '"cmd.exe" /c netsh advfirewall firewall add rule name="SGAccessInboundRule" dir=in protocol=tcp action=allow localport=8061-8080,18061-18080"
;nsExec::Exec '"cmd.exe" /c netsh advfirewall firewall add rule name="SGAccessOutboundRule" dir=out protocol=tcp action=allow remoteport=8061-8080,18061-18080"