Windows 관련

PC Port forwarding 설치

GoodDev 2019. 7. 31. 11:44

C:\WINDOWS\system32>netsh
netsh>
netsh>interface portproxy
netsh interface portproxy>add v4tov4 listenport=8081 listenaddress=192.168.0.18 connectport=8080 connectaddress=192.168.0.18

netsh interface portproxy>commit

netsh interface portproxy>show all

ipv4 수신 대기:             ipv4에 연결:

주소            포트        주소            포트
--------------- ----------  --------------- ----------
192.168.0.18    8081        192.168.0.18    8080

netsh interface portproxy>add v4tov4 listenport=8444 listenaddress=192.168.0.18 connectport=8443 connectaddress=192.168.0.18

netsh interface portproxy>show all

ipv4 수신 대기:             ipv4에 연결:

주소            포트        주소            포트
--------------- ----------  --------------- ----------
192.168.0.18    8081        192.168.0.18    8080
192.168.0.18    8444        192.168.0.18    8443

netsh interface portproxy>commit

netsh interface portproxy>