반응형
참조사이트
더보기
외부 FTP 접근시 접속 불가능할때 특정 port 가 아닌 program 대상으로 방화벽 설정
● 설정
netsh advfirewall firewall add rule name="FTP" dir=in action=allow program=%SystemRoot%\System32\ftp.exe enable=yes protocol=tcp
netsh advfirewall firewall add rule name="FTP" dir=in action=allow program=%SystemRoot%\System32\ftp.exe enable=yes protocol=udp
● 해제
netsh advfirewall firewall delete rule name="FTP" program=%SystemRoot%\System32\ftp.exe
반응형
'Windows > Command' 카테고리의 다른 글
* disk letter change & remove : 디스크 드라이브 문자 변경 및 제거 (0) | 2022.01.29 |
---|---|
* windows hostname change : 윈도우즈 컴퓨터 이름 바꾸기 (0) | 2022.01.29 |
firewall batch file / windows 방화벽 조회,추가,수정,삭제 배치파일 (0) | 2022.01.28 |
windows system info / 윈도우즈 시스템 정보 보기 (0) | 2020.11.13 |
* windows server cmd line iis 설치 (0) | 2020.11.12 |