net-through
0.1.9 • Public • Published 内网穿透服器
启动服务器
ntr server start|stop
启动客户端
ntr client start|stop
服务器配置
{
//服务器代理端口
"port": 8574,
//服务器监听的http(s)端口
"listen": [
80,
443
]
}
客户端配置
{
//代理服务器
"server": {
"host": "localhost",
"port": 8574
},
//客户端转发规则(将来自某个域名的请求转发至某个端口)
"domains": {
"localhost": 80 //例如,来自localhost的域名转发至80端口
}
}
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads