Useful Firewall Command Line code
show firewall config
netsh firewall show config
disable firewall
netsh firewall set opmode disable
enable firewall
netsh firewall set opmode enable
open a port ('delete' can be used in place of 'add')
netsh firewall add portopening TCP 80 genericnamehere
netsh firewall show config
disable firewall
netsh firewall set opmode disable
enable firewall
netsh firewall set opmode enable
open a port ('delete' can be used in place of 'add')
netsh firewall add portopening TCP 80 genericnamehere
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home