Total Pageviews

Friday 2 February 2018

TunnelSwitch

TunnelSwitch is chrome extension allows you manage and switch between multiple proxies quickly and easily.

TunnelSwitch in Chrome Web Store
Switchy is pretty good, but the auto switch mode seems not work for me, so I made this TunnelSwitch.
The default setting shows that how I use TunnelSwitch with a ssh tunnel proxy listened on port 8527 at localhost. I have 3 modes in the default setting.
  • DIRECT, all traffic goes directly without proxy
  • PAC FILE, I use pac file to define the URL patterns those should be proxied with ssh tunnel, GFWed sites typically (facebook, twitter, youtube... ) . I provide a example pac file in default settings, you can download it and change it for your own sake. I usually stay in this mode. When I visit the GFWed sites, the traffic goes through ssh tunnel automatically.
  • FIXED SERVER, socks5,127.0.0.1,8527, all traffic goes through the ssh tunnel
Though I mainly use this extension with socks5 proxy, Other proxy schemas http/https/socks4 are also supported.

大陆用户无法访问Chrome Web Store,请按下面的步骤安装:

  1. 下载 TunnelSwitch.crx,链接: http://pan.baidu.com/s/1kT5Yozt 密码: ymt2
  2. 下载 proxy.pac ,链接: http://pan.baidu.com/s/1dD0KNol 密码: d8u5
  3. 打开 Chrome,进入“设置”界面中的“扩展程序”界面
  4. 将下载完的crx拖放到Chrome窗口里
  5. Chrome浏览器会提示你是否新增扩展程序,点击“是”
  6. 在Tunnel proxy设置界面,修改“PAC FILE”模式下的配置文件路径,比如 file:///Users/oylbin/proxy.pac
from https://github.com/oylbin/tunnel-switch

No comments:

Post a Comment