源码目录\shadowsocks-csharp\Data\privoxy_conf.txt
系最后一行加入
accept-intercepted-requests 1
然后重新编译出EXE就得了。
nginx依家可以用HTTP反向代理连接呢个SS端口了。
nginx.conf的参考:
http {
server {
listen 8020;
server_name xxxx.com *.xxxx.com 123.123.123.*;
location / {
proxy_set_header Host $http_host;
proxy_pass http://127.0.0.1:1080;
}
}
access_log off;
}
另外,SS默认需要的是.NET Framework 4.6.2,唔钟意,改成系统自带的6.0。
源码目录\shadowsocks-csharp\Util\Util.cs
直接拉到最后
const int minSupportedRelease = 394802;
改成
const int minSupportedRelease = 394254;
仲有工程属性要用的.NET版本要改埋佢。