redsocks icon indicating copy to clipboard operation
redsocks copied to clipboard

请问udp数据可以不使用redsocks2内置的ss-local与ss-server通信吗?

Open ywray opened this issue 6 years ago • 1 comments

您好,我看示例中redudp的配置项中,是填写了ss-server的method和password的,这样udp数据不经过本地的ss-local。 我现在遇到的需求是使用redsocks2配合TPROXY将udp数据转发给本机ss-local,之后正常走ss流程。 目前进度:本机udp client demo 可以经由 redsocks2 -> ss-local -> ss-server 给远端udp server demo发送数据(该server识别到的ip是ss-server的ip),但是udp client demo 接受不到udp server demo返回的udp 数据,不确定是 redsocks2 不支持这种使用方式,还是说我的ip rule/ route ,iptables,TPROXY有问题。 所以请问目前REDSOCKS2支持上述这种使用方式吗?(不使用内置sslocal,仅将udp数据以socks5形式转发给本机部署的ss-locla)

附上目前redudp配置:

redudp {
 local_ip = 127.0.0.1;
 local_port = 12346;
 ip = 127.0.0.1;
 port = 11887;
 type = socks5;
 udp_timeout = 20;
}

ywray avatar Feb 23 '19 02:02 ywray

Redudp支持tproxy 。

semigodking avatar Feb 23 '19 03:02 semigodking