Giter VIP home page Giter VIP logo

tcp-multiplexer's Introduction

tcp-multiplexer

A TCP service multiplexer in Python

用途

    在远程服务器只开放特定端口,但是需要支持不同应用访问的时候,如某服务器/防火墙只允许9000端口进行通信,但是此时我想要使用ssh服务,同时使用其http服务,或者其他服务。此时,可以使用该程序进行端口多路复用。

    tcp-multiplexer-demo.py中的PROTOCOL_RULES可以根据需要进行配置,监听在本地的端口如:9000,接收到客户端的请求之后,会根据正则表达式去匹配相应的规则进行应用选择。

开发背景

想通过80端口,同时使用HTTP服务以及SSR服务

参考

tcp-multiplexer's People

Contributors

qiaofei32 avatar

Stargazers

kites262 avatar  avatar Maximilian Schweiger avatar KIM SU BEEN avatar PavelSH avatar  avatar whw1sfb avatar Uknow avatar  avatar  avatar Sora avatar 李晓彬 avatar 天高云蛋 avatar Dylan Xu avatar  avatar  avatar jkll avatar dearwind153 avatar  avatar Yihang Wang avatar  VD avatar oO0oO0oO0o0o00 avatar lkh avatar  avatar  avatar Danny0 avatar EvilHat avatar bit4woo avatar 石头 avatar noname avatar  avatar  avatar Ushio avatar

Watchers

James Cloos avatar  avatar

tcp-multiplexer's Issues

导致Windows下httpd超时

测试打开几个网页,概率导致Windows下httpd超时,复用端口和80端口都打不开。浏览器显示的是Waiting for 127.0.0.1... telnet 9000和80端口都是通的。重启httpd后恢复。
不用这个py,直接使用80端口正常使用httpd是没有问题的。

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.