> @
MYDB: 所以这是又造了一个代理?现有的代理协议和软件不够成熟吗?
没有新代理。它协议就是 SSH 端口转发,软件就是 tun2socks ,这就是十几年前就在用的经典工具。根据 IP 自动分流也是 chnroutes 十几年前就有的东西。现在不同在于,以前根本没有人会去写“管理器”封装,把这些工具用 shell 脚本拼起来就行,能有 90% 的功能。但现在 LLM 时代了,看来有人愿意为可有可无的 10% 的用户体验写前端软件,而且认为软件就“应该”有这些功能。
> 把远端 SSH 服务器当作出网跳板:本机建立一条 SSH 连接,用 tun2socks 在本地创建虚拟网卡
笑死,还 tun2socks……SSH 从 2006 年就原生支持 TUN 隧道了 [1],2008 年时,一个中文博客还转发过 [2]。2006 年大家都知道的东西,2026 年不知道了。
tun2socks 确实通用性比 SSH 隧道模式强,例如不需要管理员权限开启选项,而且兼容其他代理。为什么不跑 Shadowsocks ?
SSH 服务端 PermitTunnel: Specifies whether tun(4) device forwarding is allowed. The argument must be yes, point-to-point (layer 3), ethernet (layer 2), or no. Specifying yes permits both point-to-point and ethernet. The default is no. Independent of this setting, the permissions of the selected tun(4) device must allow access to the user.
SSH 客户端 Tunnel: Request tun(4) device forwarding between the client and the server. The argument must be yes, point-to-point (layer 3), ethernet (layer 2), or no (the default). Specifying yes requests the default tunnel mode, which is point-to-point.
TunnelDevice: Specifies the tun(4) devices to open on the client (local_tun) and the server (remote_tun). The argument must be local_tun[:remote_tun]. The devices may be specified by numerical ID or the keyword any, which uses the next available tunnel device. If remote_tun is not specified, it defaults to any. The default is any:any.
> @
Perry: 典型的有个锤子看啥都是钉子,AI slop
以前:这工具怎么用,我读读文档配置一下。
现在:我让 LLM 一句话写个新工具封装一下,重新实现它已经有的功能。
[1]
https://web.archive.org/web/20060301033434/https://boingboing.net/censorroute.html[2]
https://www.chinagfw.org/2008/03/boing-boings-guide-to-defeating.html