728x90

포트포워딩은 관리자 권한이 필요하다

 

 

#포트 포워딩 목록 조회
netsh interface portproxy show all

 

 

# 포트 포워딩 추가

=> 내 컴퓨터 1111 번 포트로 오는 요청을 192.168.1.100 의 22번 포트로 포워딩

netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=1111 connectaddress=192.168.1.100 connectport=22

 

# 포트 포워딩 삭제

netsh interface portproxy delete v4tov4 listenaddress=0.0.0.0 listenport=1111

728x90

+ Recent posts