-- 포트포워딩 설정

C:\Users\Administrator>netsh
netsh>interface
netsh interface>portproxy
netsh interface portproxy>add v4tov4 listenport=80 listenaddress=0.0.0.0 connectport=8080 connectaddress=10.10.10.1


-- 설정업로드

netsh interface portproxy>commit

--설정 확인

netsh interface portproxy>show all
ipv4 수신 대기:             ipv4에 연결:

주소            포트        주소            포트
--------------- ----------  --------------- ----------
0.0.0.0         80          10.10.10.1  8080


-- 설정 삭제

netsh interface portproxy>reset


-- 종료

netsh interface portproxy>exit

'OS > Windows' 카테고리의 다른 글

엑셀 VBA 매크로 DDL 생성  (0) 2023.11.23
tasklist 활용(windows command)  (1) 2023.11.15

+ Recent posts