+
Skip to content
/ nrp Public

A reverse proxy implemented in Node.js, designed to assist in exposing a local server behind a NAT or firewall to the internet.

License

Notifications You must be signed in to change notification settings

ximing/nrp

Repository files navigation

build workflow

Quick Start

Usage

Server

Provide the following nrps.yaml configuration on a server capable of providing external network access:

port: 9000
vhost_http_port: 9001
npm i -g @nrpjs/server
nrps -c nrps.yaml

Client

Provide the following nrpc.yaml configuration on the client machine that needs to be proxied:

bind_port: 9000 # NRP 服务监听的端口
bind_host: 127.0.0.1 # NRP 服务监听的端口
subdomain_host: subdomain.com # 你拥有的域名,用于子域名访问
http:
  test:
    subdomain: demo
    local_port: 3000
npm i -g @nrpjs/client
nrpc -c nrpc.yaml

About

A reverse proxy implemented in Node.js, designed to assist in exposing a local server behind a NAT or firewall to the internet.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载