sudo -i wget --no-check-certificate https://github.com/iyuco/scripts/raw/master/bbr.sh chmod +x bbr.sh ./bbr.sh sudo -i wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocksR.sh && chmod +x shadowsocksR.sh ./shadowsocksR.sh
sudo -i wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-go.sh chmod +x shadowsocks-go.sh ./shadowsocks-go.sh 2>&1 | tee shadowsocks-go.log
创建配置文件
cd /usr/src/ mkdir shadowsocks vim shadow_sock_client.json
配置内容
{ "server":"your_server_ip", #ss服务器IP "server_port":your_server_port, #端口 "local_address": "127.0.0.1", #本地ip "local_port":1080, #本地端口 "password":"your_server_passwd",#连接ss密码 "timeout":300, #等待超时 "method":"rc4-md5", #加密方式 "fast_open": false, # true 或 false "workers": 1 # 工作线程数 }
启动
nohup sslocal -c /usr/src/shadowsocks/shadow_sock_client.json /dev/null 2>&1 &
Privoxy官网
cd /usr/src tar -zxvf privoxy.tar.gz useradd privoxy autoheader && autoconf ./configure make && make install vim /usr/local/etc/privoxy/config
listen-address 127.0.0.1:8118
forward-socks5t / 127.0.0.1:1080 .
vim /etc/profile
#add export http_proxy=http://127.0.0.1:8118 export https_proxy=http://127.0.0.1:8118 export ftp_proxy=http://127.0.0.1:8118
source /etc/profile
sudo /usr/local/sbin/privoxy /usr/local/etc/privoxy/config
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。