Hysen Labs
Open-source project
ehang-io/nps avatar
ehang-io

nps

一款轻量级、高性能、功能强大的内网穿透代理服务器。支持tcp、udp、socks5、http等几乎所有流量转发,可用来访问内网网站、本地支付接口调试、ssh访问、远程桌面,内网dns解析、内网socks5代理等等……,并带有功能强大的web管理端。a lightweight, high-performance, powerful intranet penetration proxy server, with a powerful web management terminal.

34,162 stars6,072 forksGoGPL-3.0
01
DEEP OPEN-SOURCE ANALYSIS

NPS: an intranet penetration proxy with a web console

NPS is a lightweight proxy server for reaching intranet services from outside, managed through a web terminal and compatible with most common protocols.

02
DEEP OPEN-SOURCE ANALYSIS

What the server is

NPS is described as a lightweight, high performance, powerful intranet penetration proxy server with a web management terminal. The README repeats that description almost verbatim, which is a sign of how settled the project's identity is. It is written in Go and documented in both Chinese and English. The core job is letting someone outside a private network reach services that live inside it.

03
DEEP OPEN-SOURCE ANALYSIS

Protocol and platform coverage

Compatibility is the strongest feature on paper. The README lists comprehensive protocol support covering almost all common protocols, including TCP, UDP, HTTP or HTTPS, SOCKS5, p2p, and HTTP proxy. Full platform compatibility spans Linux, Windows, macOS, and Synology. Both client and server get comprehensive control, and HTTPS integration works with multiple certificates. For a tool whose whole purpose is forwarding traffic, that coverage is the point.

04
DEEP OPEN-SOURCE ANALYSIS

The web management side

The web management terminal is treated as a central feature rather than an afterthought. Simple configuration on the web UI can complete most requirements, according to the README. Information display covers traffic, system information, real time bandwidth, and client version. Extension functions include caching and compression. The console is where most of the day to day work happens, so its depth matters as much as the proxy itself.

05
DEEP OPEN-SOURCE ANALYSIS

Getting it started

Startup is documented in plain steps. Download the compressed package, unzip it, and enter the unzipped folder. On Windows, the README says to run the command as administrator and enter the installation directory. The project homepage is ehang.io. There is no elaborate bootstrap or cloud setup described, which fits the lightweight positioning of the whole project.

06
DEEP OPEN-SOURCE ANALYSIS

Typical setups

The use cases the README lists are concrete: accessing intranet websites, debugging local payment interfaces, SSH access, remote desktop, intranet DNS resolution, and intranet SOCKS5 proxies. Together they cover most traffic forwarding needs a small team would have. The server is positioned as lightweight and high performance throughout, and the web terminal stays the common thread across every use case.

08
DEEP OPEN-SOURCE ANALYSIS

Official sources

09
Community notes

Community notes