윈도그에서 rdp쓰려면 그냥 허용하면 끝나는게 아니라 firewall에서 허용해줘야 함. 아니 허용을 하면 자동으로 추가해줘야하는거 아닌가 어차피 허용하는 과정이 사용자 액션을 통하는건데 왜 이러지
인털넷을 뒤져 아래를 찾았으나 써보진 않음. desc.은 안써도 되겠지만 그래도
netsh.exe advfirewall firewall add rule name="Remote Desktop - User Mode (TCP-In)" dir=in action=allow program="%%SystemRoot%%\system32\svchost.exe" service="TermService" description="Inbound rule for the Remote Desktop service to allow RDP traffic. [TCP 3389]" enable=yes profile=private,domain localport=3389 protocol=tcp
netsh.exe advfirewall firewall add rule name="Remote Desktop - User Mode (UDP-In)" dir=in action=allow program="%%SystemRoot%%\system32\svchost.exe" service="TermService" description="Inbound rule for the Remote Desktop service to allow RDP traffic. [UDP 3389]" enable=yes profile=private,domain localport=3389 protocol=udp

최근 덧글