Skip to content

Commit

Permalink
vault backup: 2023-04-02 16:58:03
Browse files Browse the repository at this point in the history
Affected files:
inbox/搭建代理.md
  • Loading branch information
615lyw committed Apr 2, 2023
1 parent 58fd2b6 commit 68aedf7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions inbox/搭建代理.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,14 @@ date modified: 2023-04-02, 00:12:37
5. 配置 Docker GOST 服务实现代理
6. 配置 Cloudflare Warp 实现原生 IP
7. 配置客户端,例如 Chrome 端的 SwitchyOmega,IOS 端的 shadowRocket

Clash 等代理软件的工作原理,在本地启动一个 proxy client,当收到请求时,通过特定的代理协议将其转发给远程的 proxy server,proxy server 再转发给目标服务器;收到响应的过程反之。

实践架构:Shadowsocks client + gost client + gost server

![[Pasted image 20230402134830.png]]

1. 利用 Shadowsocks client 的 PAC 功能实现按需翻墙
1. 用户的请求被拦截,经过 PAC 规则判断决定是否转发,若转发则通过特定的代理协议(例如 socks 协议)转发到 gost client
2. gost client 监听 socks 协议,转换为 HTTPS 协议发送给 gost server
3. gost server 转发给目标服务器

0 comments on commit 68aedf7

Please sign in to comment.