shadowsocksrr / shadowsocksr

Python port of ShadowsocksR
Apache License 2.0
3.33k stars 1.73k forks source link

"redirect" tproxy #29

Open WenbinHou opened 6 years ago

WenbinHou commented 6 years ago

能否考虑在启用了tproxy的机器上,在redirect到某个地址的时候,使用tproxy?这样能得到原始连接的ip。谢谢!

WenbinHou commented 6 years ago

看了一下代码,主要在tcprelay.py里,改_create_remote_socket就可以?

Akkariiin commented 6 years ago

「Talk is cheap. Show me the code」,不如发个PR上来?