manyuser版本shadowsocks(SS)开启udp

SS技术 优优 1322℃ 0评论

很多人问manyuser版本的shadowsocks怎么开启udp,其实很简单

只需要修改server_pool.py文件即可,具体方法如下

把51行,110行-112行的注释去掉

cd /root/shadowsocks/shadowsocks
nano server_pool.py

去掉下面几行前面的井号注释

self.udp_servers_pool = {}
udp_server = udprelay.UDPRelay(a_config, self.dns_resolver, False)
udp_server.add_to_loop(self.loop)
self.udp_servers_pool.update({port: udp_server})

转载请注明:优优 » manyuser版本shadowsocks(SS)开启udp

喜欢 (6)
发表我的评论
取消评论
表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
HTTP/1.1 502 Bad Gateway Content-Type: text/html Connection: close Content-Length: 303 Date: Mon, 16 Jan 2017 23:03:22 GMT X-Via: 1.1 VM_36_107_centos (random:423408 Fikker/Webcache/3.7.1) 502 Bad Gateway

502 Bad Gateway - Cann't Connect To Upstream Server By SSL Read

Server: VM_36_107_centos
Date: 2017-01-16 23:03:22

Fikker/Webcache/3.7.1