nps/README.md

77 lines
3.9 KiB
Markdown
Raw Normal View History

2019-03-23 19:39:09 -07:00
2019-12-30 02:09:13 -08:00
# NPS
2020-01-08 07:17:50 -08:00
![](https://img.shields.io/github/stars/ehang-io/nps.svg) ![](https://img.shields.io/github/forks/ehang-io/nps.svg)
2019-04-01 08:58:23 -07:00
[![Gitter](https://badges.gitter.im/cnlh-nps/community.svg)](https://gitter.im/cnlh-nps/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
2020-01-08 07:17:50 -08:00
[![Build Status](https://travis-ci.org/ehang-io/nps.svg?branch=master)](https://travis-ci.org/ehang-io/nps)
![GitHub All Releases](https://img.shields.io/github/downloads/ehang-io/nps/total)
2018-12-03 08:15:14 -08:00
2020-01-08 06:24:03 -08:00
[README](https://github.com/ehang-io/nps/blob/master/README.md)|[中文文档](https://github.com/ehang-io/nps/blob/master/README_zh.md)
2020-01-02 07:57:13 -08:00
2019-12-30 02:09:13 -08:00
NPS is a lightweight, high-performance, powerful **intranet penetration** proxy server, with a powerful web management terminal.
2019-02-23 21:38:00 -08:00
2020-01-02 07:57:13 -08:00
2020-01-08 06:24:03 -08:00
![image](https://github.com/ehang-io/nps/blob/master/image/web.png?raw=true)
2019-02-23 21:38:00 -08:00
2019-12-30 02:09:13 -08:00
## Feature
2019-02-23 21:38:00 -08:00
2019-12-30 02:09:13 -08:00
- Comprehensive protocol support, compatible with almost all commonly used protocols, such as tcp, udp, http(s), socks5, p2p, http proxy ...
- Full platform compatibility (linux, windows, macos, Qunhui, etc.), support installation as a system service simply.
- Comprehensive control, both client and server control are allowed.
- Https integration, support to convert backend proxy and web services to https, and support multiple certificates.
- Just simple configuration on web ui can complete most requirements.
- Complete information display, such as traffic, system information, real-time bandwidth, client version, etc.
- Powerful extension functions, everything is available (cache, compression, encryption, traffic limit, bandwidth limit, port reuse, etc.)
- Domain name resolution has functions such as custom headers, 404 page configuration, host modification, site protection, URL routing, and pan-resolution.
- Multi-user and user registration support on server.
2019-02-23 21:38:00 -08:00
2020-01-08 06:24:03 -08:00
**Didn't find the feature you want? It doesn't matter, click [Enter the document](https://ehang-io.github.io/nps/) to find it!**
2019-02-23 21:38:00 -08:00
2019-12-30 02:09:13 -08:00
## Quick start
2019-12-18 23:08:31 -08:00
2019-12-30 02:09:13 -08:00
### Installation
2019-02-23 21:38:00 -08:00
2020-01-08 06:24:03 -08:00
> [releases](https://github.com/ehang-io/nps/releases)
2019-02-23 21:38:00 -08:00
2019-12-30 02:09:13 -08:00
Download the corresponding system version, the server and client are separate.
### Server start
After downloading the server compressed package, unzip it, and then enter the unzipped folder.
2019-02-23 21:38:00 -08:00
2019-12-30 02:09:13 -08:00
- execute installation command
2019-12-12 17:21:45 -08:00
2019-12-30 02:09:13 -08:00
For linux、darwin ```sudo ./nps install```
2019-12-14 01:27:00 -08:00
2019-12-30 02:09:13 -08:00
For windows, run cmd as administrator and enter the installation directory ```nps.exe install```
2019-12-14 01:27:00 -08:00
2019-12-30 02:09:13 -08:00
- start up
2019-12-14 01:27:00 -08:00
2019-12-30 02:09:13 -08:00
For linux、darwin ```sudo nps start```
2019-12-14 01:27:00 -08:00
2019-12-30 02:09:13 -08:00
For windows, run cmd as administrator and enter the program directory ```nps.exe start```
2019-12-14 01:27:00 -08:00
2019-12-30 02:09:13 -08:00
```After installation, the windows configuration file is located at C:\Program Files\nps, linux or darwin is located at /etc/nps```
2019-12-14 01:27:00 -08:00
2019-12-30 02:09:13 -08:00
**If you don't find it started successfully, you can check the log (Windows log files are located in the current running directory, linux and darwin are located in /var/log/nps.log).**
2019-12-14 01:27:00 -08:00
2019-12-30 02:09:13 -08:00
- Access server IP:web service port (default is 8080).
- Login with username and password (default is admin/123, must be modified when officially used).
- Create a client.
2019-12-07 08:29:00 -08:00
2019-12-30 02:09:13 -08:00
### Client connection
- Click the + sign in front of the client in web management and copy the startup command.
- Execute the startup command, Linux can be executed directly, Windows will replace ./npc with npc.exe and execute it with cmd.
2019-02-23 21:38:00 -08:00
2020-01-08 07:24:46 -08:00
2020-01-08 06:24:03 -08:00
If you need to register to the system service, you can check [Register to the system service](https://ehang-io.github.io/nps/#/use?id=注册到系统服务)
2019-12-30 02:09:13 -08:00
### Configuration
- After the client connects, configure the corresponding penetration service in the web.
2020-01-08 06:24:03 -08:00
- For more advanced usage, see [Complete Documentation](https://ehang-io.github.io/nps/)
2019-12-12 16:57:00 -08:00
2019-12-30 02:09:13 -08:00
## Contribution
- If you encounter a bug, you can submit it to the dev branch directly.
- If you encounter a problem, you can feedback through the issue.
- The project is under development, and there is still a lot of room for improvement. If you can contribute code, please submit PR to the dev branch.
2020-01-02 07:57:13 -08:00
- If there is feedback on new features, you can feedback via issues or qq group.