Code Monkey home page Code Monkey logo

nps-docker's Introduction

前提条件:

1、假设你使用域名youdomain.com,首先做nps.youdomain.com -->A记录到指向你的VPS IP
2、做泛解析*.nps.youdomain.com -->cname 到nps.youdomain.com
3、VPS上一键运行docker环境 curl -sSL https://get.docker.com/ | sh 

一键部署nps-docker:

docker run -d --name nps --net=host \
    -e HTTP_PROXY_PORT=80 \
    -e HTTPS_PROXY_PORT=443 \
    -e BRIDGE_PORT=8024 \
    -e DOMAIN=nps.youdomain.com -e PUBLIC_VKEY=12345678 -e WEB_PASSWORD=password lihaixin/nps
    
 
通过变量直接修改域名,公共密钥KEY,网页管理密码,http、https域名解析端口和客户端链接服务器的端口

服务器

管理地址:https://admin.nps.youdomain.com  

客户端连接

  • 点击web管理中客户端前的+号,复制启动命令
  • 执行启动命令,linux直接执行即可,windows将./npc换成npc.exe用cmd执行

如果需要注册到系统服务可查看注册到系统服务

配置

  • 客户端连接后,在web中配置对应穿透服务即可
  • 更多高级用法见完整文档

nps-docker's People

Contributors

lihaixin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.