{"id":16559681,"url":"https://github.com/mewx/psiphon3-for-linux","last_synced_at":"2025-03-16T20:30:33.904Z","repository":{"id":77166722,"uuid":"38190696","full_name":"MewX/Psiphon3-for-Linux","owner":"MewX","description":"[NOT MAINTAINED] 针对Linux环境，综合Phiphon3和DeleGate搭建的免费翻墙工具，稳定、安全！（可以本机获取SOCKS5代理和HTTP代理地址和端口）P.S. Shadowsocks for Linux 也很好用~","archived":false,"fork":false,"pushed_at":"2015-08-15T16:47:04.000Z","size":4276,"stargazers_count":187,"open_issues_count":5,"forks_count":76,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-16T05:12:30.705Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MewX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-28T07:39:42.000Z","updated_at":"2025-03-10T14:33:02.000Z","dependencies_parsed_at":"2023-03-02T07:01:17.748Z","dependency_job_id":null,"html_url":"https://github.com/MewX/Psiphon3-for-Linux","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MewX%2FPsiphon3-for-Linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MewX%2FPsiphon3-for-Linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MewX%2FPsiphon3-for-Linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MewX%2FPsiphon3-for-Linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MewX","download_url":"https://codeload.github.com/MewX/Psiphon3-for-Linux/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243928164,"owners_count":20370243,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T20:26:44.642Z","updated_at":"2025-03-16T20:30:32.830Z","avatar_url":"https://github.com/MewX.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Menu\n\n- [赛风3 Linux版 `CHS`](#chs)\n- [Psiphon3-for-Linux `ENG`](#eng)\n\n\n# \u003ca id=\"chs\"\u003e\u003c/a\u003e赛风3 Linux版 [CHS]\n这个repo实际上是[Psiphon3](https://bitbucket.org/psiphon/psiphon-circumvention-system) `SOCKS Proxy` repo的一小部分，这部分是python脚本，可以在Linux上面运行。**但是只是`SOCKS5 Proxy`（@skyer0721 测试SOCKS4不行）**。\n\n所以我又添加了DeleGate repo用来支持Linux上的`HTTP Proxy`。\n\n**总之这是一个完全免费的用来在Linux下面翻墙的工具，因为现在fqrouter2已经被谷歌封杀不少了，Android SDK更新都用不了fqrouter2了，很忧伤啊有木有！！**\n\n## 首先编译OpenSSH\n\n官方说需要编译他们改过的OpenSSH 5.9p1源码，用来支持混淆：\n\n    cd openssh-5.9p1/\n    ./configure\n    make\n然后把目录下`ssh`这个可执行文件从`openssh-5.9p1/`复制到`pyclient/`。\n\n## 赛风3 使用方法\n\n### 更新socks服务器列表\n\n执行如下代码：\n\n    cd pyclient\n    python update.py\n\n### 开启SOCKS5代理\n\n执行如下命令，可以看到软件有提示信息`Your SOCKS proxy is now running at 127.0.0.1:1080`：\n\n    python psi_client.py\n\n**P.S.** 命令执行可能会提示缺少包，缺少啥就谷歌啥。比如我就遇到了问题，搜一下需要执行如下指令`sudo apt-get install python-socksipy`。\n\n### 在需要的软件里面设置SOCKS5代理（以Android Studio为例）\n\nDo these steps:\n\n    打开 \"Config\"\n    搜索 \"proxy\"\n    选选择代理模式 \"SOCKS\"\n    填写 \"Address\" and \"Port\"\n    点击 \"OK\" or \"Apply\"\n\n## 需要HTTP代理吗?\n\n你需要这个工具： [`DeleGate`](http://delegate.hpcc.jp/)，他可以把SOCKS代理转化为HTTP代理。执行如下命令：\n\n    cd delegate9.9.13\n    make\n\n**注意：** `make`这一步需要你填写email地址，不知道为什么……\n\n`make`完成后，可执行的`delegated`文件就在`delegate9.9.13/src`目录里了，所以：\n\n    cd src\n\n接下来，可以自定义HTTP代理的相关信息。比如，使用\"8080\"作为HTTP端口，而且我们已经有了`赛风3`的SOCKS代理地址`127.0.0.1:1080`：（用`localhostL1080`是一样的）\n\n    ./delegated -P8080 SERVER=http SOCKS=127.0.0.1:1080\n\n之后你将会看到`\u003cDeleGate/9.9.13\u003e [32257] -P8080 READY`。这个用来作为HTTP的端口就在127.0.0.1上生效了！**尽情享受吧！！！**\n\n### 如何停止HTTP代理？\n\n看上面列出来的这个字符串`[32257]`，这是一个进程号，所以:\n\n    kill 32257\n\n完事！\n\n但是我还是要补一句标准关闭方法（8080是刚刚开启的端口）：\n\n    delegated -P8080 -Fkill\n\n关于赛风3的官方资讯：\nhttps://groups.google.com/forum/#!searchin/psiphon3-developers/python$20/psiphon3-developers/cb8CW7Y98nI/BRx7-cIQ7C8J\n\n# \u003ca id=\"eng\"\u003e\u003c/a\u003ePsiphon3-for-Linux [ENG]\nPart of [Psiphon3](https://bitbucket.org/psiphon/psiphon-circumvention-system) `SOCKS5 Proxy` repo, for Linux operating system.\n\nWith DeleGate repo to achieve `HTTP Proxy` on Linux.\n\n**TOTALLY FREE \u0026 STABLE \u0026 SAFE FOR 翻墙 =。= 额……总之这是一个用来在Linux下面翻墙的工具，大陆用户必备，因为现在fqrouter2已经被谷歌封杀不少了，Android SDK更新都用不了fqrouter2了，很忧伤啊有木有！！**\n\n## Make openssh first\n\nYou will need to build OpenSSH 5.9p1 that supports obfuscation:\n\n    cd openssh-5.9p1/\n    ./configure\n    make\n\nand copy ssh binary from `openssh-5.9p1/` to `pyclient/`\n\n## Phiphon3 Usage\n\n### Update server list first\n\nRun these commands:\n\n    cd pyclient\n    python update.py\n\n### Run SOCKS5 Proxy\n\nRun these commands, and you will see `Your SOCKS proxy is now running at 127.0.0.1:1080`:\n\n    python psi_client.py\n\n**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`.\n\n### Set SOCKS5 Proxy configuration in apps (Android Studio for example)\n\nDo these steps:\n\n    Open \"Config\"\n    Search \"proxy\"\n    Select \"SOCKS\"\n    Fill \"Address\" and \"Port\"\n    Press \"OK\" or \"Apply\"\n\n## Need HTTP Proxy?\n\nYou should use a tool named [`DeleGate`](http://delegate.hpcc.jp/), which convert SOCKS Proxy to HTTP Proxy. Run these commands:\n\n    cd delegate9.9.13\n    make\n\n**Note:** `make` step need to input an email address.\n\nThen, after `make` finished, the executable `delegated` located in `delegate9.9.13/src`, so:\n\n    cd src\n\nNext, 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)\n\n    ./delegated -P8080 SERVER=http SOCKS=127.0.0.1:1080\n\nYou will see `\u003cDeleGate/9.9.13\u003e [32257] -P8080 READY`. This port for HTTP Proxy is available! **Enjoy it!!!**\n\n### How to stop?\n\nSee the string `[32257]` above? just run:\n\n    kill 32257\n\nThat's done!\n\nBut I still show the standard way to close port (8080 is the port we assigned above):\n\n    delegated -P8080 -Fkill\n\nFor more details visit related Google Group discussion at\nhttps://groups.google.com/forum/#!searchin/psiphon3-developers/python$20/psiphon3-developers/cb8CW7Y98nI/BRx7-cIQ7C8J\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmewx%2Fpsiphon3-for-linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmewx%2Fpsiphon3-for-linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmewx%2Fpsiphon3-for-linux/lists"}