ssh 代理

关键字:翻墙,加速,绕过封锁

如果你有ssh帐号(最好是国外的),那么你就可以打造自己专用的代理了

Windows:

plink putty的一个组件
然后新建一个快捷方式,指向PLINK.EXE -C -D 127.0.0.1:7777 -N -pw SSH密码 SSH用户名@SSH的IP地址
把快捷方式的运行方式改成:最小化,好了,双击快捷方式启动PLINK,这个时候你的电脑本地回环(Loopback)已经建立起了一个Socks5代理,地址是 127.0.0.1,端口是7777

Linux:

1. linux下也可以使用plink

ubuntu用户可以直接安装

1
sudo apt-get install putty

安装完成后执行

1
plink -C -D 127.0.0.1:7777 -N -pw 密码 用户名@服务器地址

为了使用方便,我们可以在桌面创建一个启动器,如图screenshot_003
命令处填 plink -C -D 127.0.0.1:7777 -N -pw 密码 用户名@服务器地址

2. 当然也可以使用系统自带的ssh

1
ssh -CfNg -D 127.0.0.1:7777 用户名@服务器地址

Mac:

1
ssh -CfNg -D 127.0.0.1:7777 用户名@服务器地址

firefox设置代理(图片来自Jonathan Lumb
firefox_proxy.png

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
This entry was posted in Technologies and tagged , , , . Bookmark the permalink.

One Response to ssh 代理

  1. 翻墙无罪。。。

Leave a Reply

Your email address will not be published. Required fields are marked *

*

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>