Giter Club home page Giter Club logo

walkerwang731 / portroute Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rogertong1981/portroute

0.0 1.0 0.0 34 KB

portroute 工具提供将内网端口转发到公网的能力,你可以在可访问internet的私有内网运行forward,然后可以在任意可以上网的地方运行proxy,proxy 可以将私有内网中的端口经internet映射到本机端口,于是你可以像访问本地资源一样访问内网端口了

License: Apache License 2.0

Go 100.00%

portroute's Introduction

portroute

portroute 工具提供将内网端口转发到公网的能力,你可以在可访问internet的私有内网运行forward,然后可以在任意可以上网的地方运行proxy,proxy 可以将私有内网中的端口经internet映射到本机端口,于是你可以像访问本地资源一样访问内网端口了

1. center

center 作为**服务器存在于网络中,用于连接所有的forward / proxy

2. forward

forward 用来连接私有网络,起到私有网络端口转发器的作用,forward可以在运行时指定tunnelkey 标识,也可以由center来分配标识

3. proxy

proxy 用来将私有网络的端口映射到运行proxy的主机上,proxy需要先指明tunnelKey, center会识别tunnelkey, 将tunnelKey相同的forward / proxy 配对连接,proxy中还可以指明需要连接到私网的哪个端口,比如:在私网中192.168.100.20:3306上运行了mysql服务,那么proxy可以通知forward来进行中转连接,然后映射到本地端口上,proxy连接完成后,可以通过访问proxy所在主机的本地端口,来连接到私网的mysql

portroute's People

Contributors

lonntec-roger avatar rogertong1981 avatar

Watchers

 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.