Chrome+SwitchySharp

Posted by 冰河 at 01:05 Add comments 18,413 Views
072015

很久之前终于无法忍受Firefox,换了Chrome。所以翻-墙方案也由Firefox+AutoProxy变成了Chrome+SwitchySharp。底层的SOCKS 代理还是用的SSH+Bitvise Tunnelier。
Chrome+SwitchySharp的教程:

http://blog.sina.com.cn/s/blog_c2995fab01017eqk.html

http://bbs.liebao.cn/thread-19792-1-1.html

上面的教程里用用的是GoAgent。注意SSH是SOCKS v5,之前设置成SOCKS v4,Bitvise Tunnelier一直提示
SOCKS4 connection from 127.0.0.1:50631 failed: Client connection closed before completion of protocol.
PS:好像最近shadowsocks也很火。
Github:https://github.com/shadowsocks/shadowsocks
SS安装教程:
CentOS:
yum install python-setuptools && easy_install pip
pip install shadowsocks
然后直接在后台运行:
ssserver -p 8000 -k password -m rc4-md5 -d start
当然也可以使用配置文件进行配置,创建/etc/shadowsocks/config.json文件,内容如下:

{
    "server":"0.0.0.0",
    "server_port":8888,
    "password":"",
    "timeout":60,
    "method":"aes-256-cfb",
    "workers":10
}

启动:
ssserver -c /etc/shadowsocks/config.json -d start

参考:

http://wuchong.me/blog/2015/02/02/shadowsocks-install-and-optimize/

https://teddysun.com/339.html

https://wiki.archlinux.org/index.php/Shadowsocks_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)

优化:

http://www.isetsuna.com/shadowsocks/deploy-optimizer-usage/

客户端教程:

http://ttt.tt/150/

http://www.abclite.org/12

tips:1. 在Azure上安装SS记得打开对应端口,server ip填内网ip。
2. 将ssserver -c /etc/shadowsocks/config.json -d start写入/etc/rc.d/rc.local
或者使用init.d方式

wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks -O /etc/init.d/shadowsocks
chmod +x /etc/init.d/shadowsocks
chkconfig --add shadowsocks
chkconfig shadowsocks on
chkconfig --list shadowsocks

参考:http://hellocran.com/?p=23

https://teddysun.com/342.html

3. 端口查看:netstat -ntlp| grep 8888
进程查看:ps aux| grep ss

相关日志

2 Responses to “Chrome+SwitchySharp”

  1. shadowsocks 确实是比较安全一些 不过得花点钱

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Protected by WP Anti Spam
© 2009 - 2024 冰河的博客