2.1.2 • Published 5 years ago

tcp-proxy2 v2.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

一个可用于内网穿透的TCP代理工具

需要准备的

一台拥有公网IP的服务器 node 8.0+

一台需要内网穿透的客户端 node 8.0+

Usage

首先在客户端和服务端安装tcp-proxy2

npm i tcp-proxy2 -g

在服务端

proxy2 server
# demo: proxy2 server

在客户端

proxy2 client -s <服务端IP>:<希望打开的服务端端口> -p <将请求转发到的本地端口>
# demo: proxy2 client -s 139.129.132.196:8080 -p 3000  

之后在客户端访问服务端IP:希望打开的服务端端口,如: 139.129.132.196:8080,即可发现请求已被转发至本地端口。

2.1.2

5 years ago

2.1.1

5 years ago

2.0.7

5 years ago

2.1.0

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.6

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago