사용자 도구

사이트 도구


os:windows:firewall

윈도우 방화벽(firewall)

tsh advfirewall firewall show rule name=all


netsh advfirewall set allprofiles state on
netsh advfirewall set allprofiles state off


netsh advfirewall reset


netsh advfirewall set currentprofile logging filename "C:\temp\pfirewall.log"


netsh advfirewall firewall add rule name="All ICMP V4" dir=in action=block protocol=icmpv4
netsh advfirewall firewall add rule name="All ICMP V4" dir=in action=allow protocol=icmpv4


netsh advfirewall firewall add rule name="Open SQL Server Port 1433" dir=in action=allow protocol=TCP localport=1433
netsh advfirewall firewall delete rule name="Open SQL Server Port 1433" protocol=tcp localport=1433


netsh advfirewall firewall add rule name="Allow Messenger" dir=in action=allow program="C:\programfiles\messenger\msnmsgr.exe"


netsh advfirewall firewall set rule group="remote administration" new enable=yes


netsh advfirewall firewall set rule group="remote desktop" new enable=Yes

netsh advfirewall export "C:\temp\WFconfiguration.wfw"	
netsh advfirewall import "C:\temp\WFconfiguration.wfw"	
os/windows/firewall.txt · 마지막으로 수정됨: 2018/10/15 16:05 저자 starlits