通过SSH利用Tunnelier+Privoxy实现任意浏览器翻墙

        之前秋天介绍过如何通过SSH利用MyEnTunnel+AutoProxy在FireFox下实现翻墙,但毕竟需要FireFox浏览器,有童鞋和我一样不太用FF,或者希望其他支持代理方式连接网络的软件也能翻墙。基于此,本文出炉。

        SSH账号的获得
        同本文:http://www.cfresh.net/pc-tech/662

        Windows下的SSH客户端–Tunnelier
        首先,这里不再使用MyEnTunnel作为SSH连接客户端,因为它是基于plink核心的,端口转发效率相对较低。更高效的SSH客户端是 –Tunnelier,经秋天试验,在使用相同SSH账号和服务器的情况下,能明显感觉到转换代理后的国外网页时间加载时间缩短。后试验本人的美国空间 SSH账号时,可以直接在线观看YouTube视频,只有偶尔的停顿现象,整体较为流畅。Tunnelier不仅提供了SSH连接和端口转发功能 (Tunnel),还内建了sftp客户端,实为SSH翻墙之不二选择。

        Tunnelier下载地址
        安装版:http://dl.bitvise.com/Tunnelier-Inst.exe
        绿色版:http://tp.vbap.com.au/download

        安装版安装完成后,启动软件,来到如图所示界面,依次输入SSH服务器地址、用户名、端口(一般是22)、密码,并勾选”Password”下的”Store encrypted password in profile”。


Tunnelier-login


        接下来切换到”Options”选项卡,进入选项配置
        因为Tunnelier默认在连接SSH服务器时开启SFTP和命令行SSH终端,如果你并不需要可以在”On Login”下框选取消”Open Terminal”和”Open SFTP”。

Tunnelier-option


        继续切换到”Services”选项卡,进入服务配置
        勾选”SOCKS/HTTP Proxy Forwarding”下的”Enabled”选项框,第一行监听地址输入127.0.0.1,第二行监听端口输入socks转发端口,如1080,第三 行保持0.0.0.0不变。再点左侧的”Save Profile As”按钮,将当前的配置保存为文件方便以后每一次软件启动时调用。


Tunnelier-services

        至此Tunnelier设置完成,此时要做的只是Login一下开始连接SSH服务器并做端口转发。


        Windows下SOCKS代理转HTTP代理工具–Privoxy

        最新Privoxy 3.0.16绿色英文版下载地址
        解压完成后,找到配置文件config.txt,打开定位到1241行前后,或者直接搜索”www-cache.isp.example.net:8080″,将此行:
#        forward-socks4a   /       socks-gw.example.com:1080    www-cache.isp.example.net:8080
        整行替换为:
         forward-socks4a   /       127.0.0.1:1080 .
        注:需要将前面的注释符号”#”删掉以使本行命令生效;1080为你在Tunnlier中设置的socks转发端口;在本行末尾需空格后添加一个英文句号,否则会报错。
       然后双击运行解压目录下的privoxy.exe,直接最小化到系统托盘即可,无需任何操作。


        最后一步,浏览器或者其他支持代理的软件设置:

         在浏览器中找到HTTP代理服务器设置选项,服务器地址:127.0.0.1,服务器端口:8118,依次确定。
        OK,翻墙完成。


        秋天注:为了提高效率,可以将Tunnlier和Privoxy放置在相同目录下,再编写一个批处理调用启动,批处理文件同样放置在相同目录下。
        例:
        上述两个文件都放置在同一目录如FuckGFW下,文件夹名称分别为Tunnlier和Privoxy,则批处理内容如下:
@echo off
cd privoxy
start /min privoxy.exe
cd ..
cd Tunnelier
start Tunnelier.exe

        将批处理命名为ssh.bat同样放置在FuckGFW目录下,然后再发送快捷方式到桌面或者其他方便的地方。启动ssh.bat后首先将自动以最小化方 式启动privoxy,然后再启动Tunnlier,因为之前已经保存过配置文件,软件启动时会自动载入配置文件,只需按下”Login”按钮等待连接即 可。

        文末预祝各位翻墙愉快。


7 条评论:

john smith 说...


OFFICE.COM/SETUP DOWNLOAD, INSTALLATION AND ACTIVATION FOR OFFICE SETUP. Microsoft Office suite contains reliably used ventures and organizations. The most used tasks of Microsoft Officeare Word, a word taking care of program, Excel, a spreadsheet program, PowerPoint, a presentation maker, and Access, a database application.
Office.com/Setup | norton.com/setup | mcafee.com/activate | mcafee activate | Office Setup | Office.com/Setup

Smith Leo 说...

Thank™ you for sharing excellent information. ✆ Your website is so cool. I am impressed by the details that you have on this website ☞ It reveals how nicely you understand this subject. Bookmarked♠ this website page, will come back for extra articles. You, my friend, ROCK£ I found simply the info I already searched everywhere and simply could not come across. What a great website. Visit௹☞ Norton.com/setupoffice.com/setupTelstra supportPlumbers Near Me | office.com/setup.

norton.com/setup 说...

I really happy found this website eventually. Really informative and inoperative, Thanks for the post and effort! Please keep sharing more such blog.

norton.com/setup

norton.com/setup

mcafee.com/activate

kaspersky activation code

free pogo games

roadrunner email

aol mail

Mike Jones 说...

It read your article every thing is clear , Thanks for sharing.

office.com/setup , mcafee.com/activate

roadrunneremail 说...

I really happy found this website eventually. Really informative and inoperative, Thanks for the post and effort! Please keep sharing more such blog.

norton.com/setup

spectrum email login

kaspersky activation

johnsy shroun 说...

Either go to Foxnews.com/connect and enter the displayed Activation Code or use your smartphone camera to read the QR code shown. When creating a profile, after entering the activation code, the Create Your Account screen will be displayed. Launch the FOX App on your device. Sign in with an existing FOX account by entering your email and password. Once you're signed in, select the Cast icon from the upper or lower right side of the screen. Select your Chromecast from the list of devices to launch the FOX App on your TV. Fox News Channel on Roku comes with most of the News content from the cable version of it. It also has many episodes of many popular shows from the channel if you are a subscriber to the pay TV service.The free content includes the Latest News videos, Top Stories, Primetime Highlights.Can I watch FOX on my phone? Yes. Simply download FOX NOW on your iOS or Android device. Then enter paid TV subscription credentials to activate the app and begin streaming your favorite shows, live sports, and news.

GovtAssistances 说...

Getting a free laptop is possible if you know where to look. Non-profit organizations, government grants, college laptop grants, community programs, and corporate donations are all legit ways to get a free laptop for low-income individuals and families.