moff4 / TCP-Proxy

Simple TCP proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple TCP proxy

Flags:
--help, -h, -? - see this msg again
--version, -v - print version
--host, -H - destination host
--post, -P - destination port
--listen, -l - port to listen to (default: 8888)
--buffer-limit - size of buffer for readers

Example:
Run on server:
$ ./proxy.py -H=ya.ru -P=443

Run on client:
$ curl https://myproxyserver:8888 -H 'Host: ya.ru' -k

About

Simple TCP proxy


Languages

Language:Python 100.0%