Giter Site home page Giter Site logo

natproxy's Introduction

a simply tcp reverse proxy

1 client+server 
2 依赖lua库,VS+NAT调试需要lua脚本支持,若不进行VS调试,则不需要链接 lua库。
3 逻辑比较简单,就是一个反向代理,可以穿透NAT。初衷是为了调试nat环境下的vs,参考lua脚本 
4 需要将 server端部署在公网中。client端部署在两个不同的 nat环境中。 
5 client端的配置文件中设置 server的 IP/DOMAIN后,启动后会连接服务器端,然后按照提示连接另一个client。 
6 连接成功后就可以输入命令启动一个本地的端口来反向代理另一个 client的监听端口。
7 支持文件传输

8 一个简单的小工具,不想做复杂了,因此一些情况没有处理。使用这个可以干许多有意思的事,参考 sample

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.