GithubHelp home page GithubHelp logo

Comments (2)

hongkunv avatar hongkunv commented on June 14, 2024

不知道能不能帮到你,我最近也做了一个跟你类似的。不过我是在公网服务器上部署的nginx进行反代,然后ssl证书也是在公网服务器上配置,这样可以正常访问穿透的内网资源,证书也是生效的,希望可以给你点思路。

from nps.

skyhhjmk avatar skyhhjmk commented on June 14, 2024

有点不理解你说的多端口是什么意思,我是一个服务器转发多个服务进内网后端,使用的方案是TCP隧道+nginx反代+后端nginx,首先在公网服务器上使用nginx监控80、443(nps的http(s)改为了180(1443))或者其他端口用于web,使用nps监控其他tcp端口如122映射进内网某机器的22端口,最终我可以将a.exp.com b.exp.com同时解析到转发服务器,流量会经过nginx反代以及nps TCP隧道后来到后端nginx,并且后端nginx根据host判断应该访问哪个网站或服务

from nps.

Related Issues (20)

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.