방화벽에서 원하는 Protocol / Port 를 명령어로 OPEN하기
ICMP Allow IPv4 Echo Request
netsh advfirewall firewall add rule name="[M]ICMP Allow Incoming v4 Echo Request" protocol=icmpv4:8,any dir=in action=allow
FTP Service : IN/TCP
netsh advfirewall firewall add rule name="[M]FTP Service(IN/TCP)" protocol=TCP dir=in action=allow localport=20,21 netsh advfirewall set global StatefulFtp enable
Dynamic Ports for RPC : IN/TCP
netsh advfirewall firewall add rule name=[M]"Dynamic Ports for RPC" protocol=TCP dir=in action=allow localport=49152-65535 |
[실행] 시작 -> cmd -> 관리자 권한 실행
[실행결과] 시작 -> wf.msc -> 인바운드 규칙
상기 명령어를 적당히 조합하여 사용하시면 됩니다.