Skip to content

yuki0308/tcp-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCP Proxy (0.1.0)

Introduction

A proxy server for TCP socket connections in Python 3, it supports the scalable I/O event, epoll and kqueue, for high performance in large number of connections.

Installation

Python 3

To install python-3, please follow the instructions in Python offical site.

setuptools

To install setuptools, please follow the instructions in setuptools package site.

TCP Proxy

git clone https://github.com/Aludirk/tcp-proxy
cd tcp-proxy
python setup.py install

Examples

Simple proxy server

To set up a proxy to a remote server some.domain.com:9999, and accept connections by localhost:5354 (default).

tcp-proxy some.domain.com 9999

Simple proxy server with specific downstream

To set up a proxy to a remote server some.domain.com:9999, and accept connections by 192.168.0.100:20000.

tcp-proxy -H 192.168.0.100 -p 20000 some.domain.com 9999

Proxy server using epoll event

tcp-proxy -m epoll some.domain.com 9999

License

This software is licensed under the GNU GPL v3 license. © 2017 Aludirk Wong

About

TCP proxy.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%