Files

82 lines
2.8 KiB
Markdown
Raw Permalink Normal View History

2019-12-30 18:09:13 +08:00
# NPS
2019-02-24 13:34:18 +08:00
![Version](https://img.shields.io/badge/version-v0.26.39-blue)
2026-06-08 14:49:43 -06:00
![License](https://img.shields.io/badge/license-GPL--3.0-green)
![Go](https://img.shields.io/badge/Go-%3E%3D1.22-00ADD8?logo=go)
2026-06-07 11:03:11 -06:00
2026-06-08 14:49:43 -06:00
> 一款轻量级、高性能、功能强大的内网穿透代理服务器,基于 [ehang-io/nps](https://github.com/ehang-io/nps) 0.26.10 二次开发 —— 修复大量 bug,持续更新中。
> 💬 聊天灌水 QQ 群:**619833483**(热心群主可提供免费远程协助)
2026-06-07 11:03:11 -06:00
2026-06-08 15:11:18 -06:00
### 📖 在线文档
2026-06-08 15:18:07 -06:00
<small>[完整文档](https://yisier.github.io/nps) · [更新日志](https://yisier.github.io/nps/changelog/) · [程序安装](https://yisier.github.io/nps/install/#%E7%A8%8B%E5%BA%8F%E5%AE%89%E8%A3%85) · [宝塔面板](https://yisier.github.io/nps/install/#%E5%AE%9D%E5%A1%94%E9%9D%A2%E6%9D%BF-%E4%B8%80%E9%94%AE%E9%83%A8%E7%BD%B2) · [Docker安装](https://yisier.github.io/nps/install/#docker-%E5%AE%89%E8%A3%85)</small>
2026-06-07 11:03:11 -06:00
2026-06-08 15:18:07 -06:00
---
2026-06-08 14:49:43 -06:00
## 💰 赞助 / 推荐
2026-10-27 13:50:54 +08:00
#### 【腾讯云】— [WorkBuddy 全场景 AI 办公工作台](https://curl.qcloud.com/Fw85I52h)
2026-09-17 15:26:36 +08:00
#### 【NATNPS 云穿透】 — [无需自备服务器,注册即用,免费 3M 带宽 / 2 条隧道](https://natnps.com/register?utm_from=MQ==)
2026-06-08 14:49:43 -06:00
2026-06-07 11:03:11 -06:00
2026-06-08 14:49:43 -06:00
---
## 🚀 快速开始
2024-11-14 16:52:47 +08:00
2026-06-08 14:49:43 -06:00
### 下载
2025-01-23 17:31:55 +08:00
2026-06-08 14:49:43 -06:00
从 [releases](https://github.com/yisier/nps/releases) 下载对应平台版本。服务端 `nps` 和客户端 `npc` 是独立的压缩包。
2026-03-13 11:38:53 +08:00
2026-06-08 14:49:43 -06:00
### 服务端
2026-03-13 11:38:53 +08:00
2026-06-08 14:49:43 -06:00
```shell
./nps -server # 交互菜单:安装/卸载/启动/停止/更新
```
2026-03-13 11:38:53 +08:00
2026-06-08 14:49:43 -06:00
首次启动自动生成 `conf/nps.conf`,随机生成 `web_password`、`auth_key`、`auth_crypt_key`,请从启动日志或 `nps.conf` 获取。
2026-03-13 11:38:53 +08:00
2026-06-08 14:49:43 -06:00
![img](https://raw.githubusercontent.com/yisier/nps/master/docs/.vuepress/public/image/new/server.png)
### 客户端
```shell
./npc # 直接双击运行,按提示输入即可
```
在 Web 后台复制【快捷启动命令】,客户端粘贴即可注册系统服务、启停或卸载。
![image](https://raw.githubusercontent.com/yisier/nps/master/docs/.vuepress/public/image/new/cmd.png)
2026-08-25 16:16:00 +08:00
#### GUI
![image](https://yisier.github.io/nps/image/new/gui.png)
2026-06-08 14:49:43 -06:00
#### 命令行直接启动
```shell
npc -server=ip:8024 -vkey=xxx # 标准
npc -server=ip:8025 -vkey=xxx -tls_enable=true # TLS 桥接
npc -server=ip:8024 -vkey=vkey1,vkey2 # 多隧道
```
2026-08-25 16:16:00 +08:00
2026-06-08 15:02:08 -06:00
---
2026-06-08 14:49:43 -06:00
2026-06-08 15:02:08 -06:00
## ☕ 请作者喝杯咖啡
> 如果这个项目帮到了你,可以请作者喝杯咖啡 ☕ 感谢支持!
2020-01-02 23:57:13 +08:00
2026-06-08 15:11:18 -06:00
![微信/支付宝扫码赞赏](docs/.vuepress/public/image/payme.png)
2026-03-23 17:02:32 +08:00
2026-06-08 14:49:43 -06:00
---
2026-01-24 17:41:55 +08:00
2026-06-08 14:49:43 -06:00
## 📈 Star History
2025-12-06 01:50:13 +08:00
[![Star History Chart](https://star-history.dera.page/svg?repos=yisier/nps&type=Date)](https://star-history.dera.page/#yisier/nps&Date)
2025-12-06 01:50:13 +08:00
2026-06-08 14:49:43 -06:00
---
2025-11-01 03:55:18 +08:00
2026-06-08 14:49:43 -06:00
## 📃 License
2025-11-01 03:55:18 +08:00
2026-06-08 14:49:43 -06:00
GPL-3.0 License — 基于 [ehang-io/nps](https://github.com/ehang-io/nps) 0.26.10 二次开发。