Netsh

From Federal Burro of Information
Revision as of 17:42, 29 May 2017 by David (talk | contribs) (Created page with " == Example firewall rule add == netsh advfirewall firewall add rule name="LabTech Inbound TCP 70,80" dir=in profile=any localport=70,80 protocol=TCP action=allow netsh adv...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Example firewall rule add

netsh advfirewall firewall add rule name="LabTech Inbound TCP 70,80" dir=in profile=any localport=70,80 protocol=TCP action=allow
netsh advfirewall firewall add rule name="LabTech Inbound UDP 70,80" dir=in profile=any localport=70,80 protocol=UDP action=allow
netsh advfirewall firewall add rule name="LabTech Outbound TCP 70,80" dir=out profile=any localport=70,80 protocol=TCP action=allow
netsh advfirewall firewall add rule name="LabTech Outbound UDP 70,80" dir=out profile=any localport=70,80 protocol=UDP action=allow