• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

MewX/Psiphon3-for-Linux: [NOT MAINTAINED] 针对Linux环境,综合Phiphon3和DeleGate ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

MewX/Psiphon3-for-Linux

开源软件地址(OpenSource Url):

https://github.com/MewX/Psiphon3-for-Linux

开源编程语言(OpenSource Language):

C 89.7%

开源软件介绍(OpenSource Introduction):

Menu

赛风3 Linux版 [CHS]

这个repo实际上是Psiphon3 SOCKS Proxy repo的一小部分,这部分是python脚本,可以在Linux上面运行。但是只是SOCKS5 Proxy(@skyer0721 测试SOCKS4不行)

所以我又添加了DeleGate repo用来支持Linux上的HTTP Proxy

总之这是一个完全免费的用来在Linux下面翻墙的工具,因为现在fqrouter2已经被谷歌封杀不少了,Android SDK更新都用不了fqrouter2了,很忧伤啊有木有!!

首先编译OpenSSH

官方说需要编译他们改过的OpenSSH 5.9p1源码,用来支持混淆:

cd openssh-5.9p1/
./configure
make

然后把目录下ssh这个可执行文件从openssh-5.9p1/复制到pyclient/

赛风3 使用方法

更新socks服务器列表

执行如下代码:

cd pyclient
python update.py

开启SOCKS5代理

执行如下命令,可以看到软件有提示信息Your SOCKS proxy is now running at 127.0.0.1:1080

python psi_client.py

P.S. 命令执行可能会提示缺少包,缺少啥就谷歌啥。比如我就遇到了问题,搜一下需要执行如下指令sudo apt-get install python-socksipy

在需要的软件里面设置SOCKS5代理(以Android Studio为例)

Do these steps:

打开 "Config"
搜索 "proxy"
选选择代理模式 "SOCKS"
填写 "Address" and "Port"
点击 "OK" or "Apply"

需要HTTP代理吗?

你需要这个工具: DeleGate,他可以把SOCKS代理转化为HTTP代理。执行如下命令:

cd delegate9.9.13
make

注意: make这一步需要你填写email地址,不知道为什么……

make完成后,可执行的delegated文件就在delegate9.9.13/src目录里了,所以:

cd src

接下来,可以自定义HTTP代理的相关信息。比如,使用"8080"作为HTTP端口,而且我们已经有了赛风3的SOCKS代理地址127.0.0.1:1080:(用localhostL1080是一样的)

./delegated -P8080 SERVER=http SOCKS=127.0.0.1:1080

之后你将会看到<DeleGate/9.9.13> [32257] -P8080 READY。这个用来作为HTTP的端口就在127.0.0.1上生效了!尽情享受吧!!!

如何停止HTTP代理?

看上面列出来的这个字符串[32257],这是一个进程号,所以:

kill 32257

完事!

但是我还是要补一句标准关闭方法(8080是刚刚开启的端口):

delegated -P8080 -Fkill

关于赛风3的官方资讯: https://groups.google.com/forum/#!searchin/psiphon3-developers/python$20/psiphon3-developers/cb8CW7Y98nI/BRx7-cIQ7C8J

Psiphon3-for-Linux [ENG]

Part of Psiphon3 SOCKS5 Proxy repo, for Linux operating system.

With DeleGate repo to achieve HTTP Proxy on Linux.

TOTALLY FREE & STABLE & SAFE FOR 翻墙 =。= 额……总之这是一个用来在Linux下面翻墙的工具,大陆用户必备,因为现在fqrouter2已经被谷歌封杀不少了,Android SDK更新都用不了fqrouter2了,很忧伤啊有木有!!

Make openssh first

You will need to build OpenSSH 5.9p1 that supports obfuscation:

cd openssh-5.9p1/
./configure
make

and copy ssh binary from openssh-5.9p1/ to pyclient/

Phiphon3 Usage

Update server list first

Run these commands:

cd pyclient
python update.py

Run SOCKS5 Proxy

Run these commands, and you will see Your SOCKS proxy is now running at 127.0.0.1:1080:

python psi_client.py

P.S. You may need to install some python packages, the commands are just in Google. e.g. I was in need of this sudo apt-get install python-socksipy.

Set SOCKS5 Proxy configuration in apps (Android Studio for example)

Do these steps:

Open "Config"
Search "proxy"
Select "SOCKS"
Fill "Address" and "Port"
Press "OK" or "Apply"

Need HTTP Proxy?

You should use a tool named DeleGate, which convert SOCKS Proxy to HTTP Proxy. Run these commands:

cd delegate9.9.13
make

Note: make step need to input an email address.

Then, after make finished, the executable delegated located in delegate9.9.13/src, so:

cd src

Next, set out port for HTTP Proxy. For example, choose "8080" for HTTP Proxy, and we've got the Phiphon3 SOCKS Proxy "127.0.0.1:1080": (use localhostL1080 does the same effort)

./delegated -P8080 SERVER=http SOCKS=127.0.0.1:1080

You will see <DeleGate/9.9.13> [32257] -P8080 READY. This port for HTTP Proxy is available! Enjoy it!!!

How to stop?

See the string [32257] above? just run:

kill 32257

That's done!

But I still show the standard way to close port (8080 is the port we assigned above):

delegated -P8080 -Fkill

For more details visit related Google Group discussion at https://groups.google.com/forum/#!searchin/psiphon3-developers/python$20/psiphon3-developers/cb8CW7Y98nI/BRx7-cIQ7C8J




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap