Windows

윈도우방화벽 예외 추가(Command)

돌갱이 2014. 5. 12. 18:03

윈도우방화벽 예외 추가(Command)

 

------------------------------------------------------------------------------------------------------------------

 

추가 - XP
netsh firewall add allowedprogram "%programfiles%\internet explorer\iexplore.exe" "Internet Explorer" enable


삭제 - XP
netsh firewall delete allowedprogram "%programfiles%\internet explorer\iexplore.exe"

 

------------------------------------------------------------------------------------------------------------------

 

추가 - VISTA/7
netsh advfirewall firewall add rule name="Internet Explorer" dir=in action=allow program="%programfiles%\internet explorer\iexplore.exe" enable=yes



삭제 - VISTA/7
netsh advfirewall firewall delete rule name="Internet Explorer" program="%programfiles%\internet explorer\iexplore.exe"


------------------------------------------------------------------------------------------------------------------