Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Mac
- ssh
- 공통표준용어
- tomcat
- lsof
- bash
- Windows
- find
- VirtualBox
- copy-dependencies
- JavaScript
- port
- xargs
- 네트워크
- Source
- profile
- web.xml
- GIT
- context
- DB 도메인
- netsh
- 단축키
- resource
- IntelliJ
- Eclipse
- Quartz
- grep
- import
- maVen
- Windows 10
Archives
- Today
- Total
develog
[windows] netsh, port forwarding (포트 포워딩) 적용하기 본문
기본 사용법
# 포트포워딩 리스트 보기
netsh interface portproxy show v4tov4
# 포트포워딩 등록
# 로컬 8888 포트를 127.0.0.1:8080 포트로 포워딩
netsh interface portproxy add v4tov4 listenport=8888 connectaddress=127.0.0.1 connectport=8080
# 포트포워딩 삭제
# 로컬 8888 포트 포워딩을 삭제
netsh interface portproxy delete v4tov4 listenport=8888
80, 443, 22 포트 포워딩하기
# windows 에서 virtualbox 192.168.56.101 로 포트포워딩 하기
netsh interface portproxy add v4tov4 listenport=80 connectaddress=192.168.56.101 connectport=80
netsh interface portproxy add v4tov4 listenport=443 connectaddress=192.168.56.101 connectport=443
netsh interface portproxy add v4tov4 listenport=22 connectaddress=192.168.56.101 connectport=22
Comments