1. 방화벽 활성화
cmd -> netsh -> firewall -> set opmode enable


2. 방화벽 비활성화
cmd -> netsh -> firewall -> set opmode disable


3. 방화벽 활성상태 에서 예외목록 허용
cmd -> netsh -> firewall -> set opmode enable disable


4. 방화벽 활성상태 에서 예외목록 허용안함
cmd -> netsh -> firewall -> set opmode enable enable


5. 예외사항 추가하고 설정 적용
cmd -> netsh -> firewall -> add allowedprogram "%PROGRAMFILES%\Internet Explorer\iexplorer.exe" "Internet Explorer" ENABLE


6. 예외사항 추가하고 설정 해제
cmd -> netsh -> firewall -> add allowedprogram "%PROGRAMFILES%\Internet Explorer\iexplorer.exe" "Internet Explorer" DISABLE


7. 예외사항 항목에서 삭제
cmd -> netsh -> firewall -> del allowedprogram "%PROGRAMFILES%\Internet Explorer\iexplorer.exe"

Posted by kyh1026