Linux 系统里有没有类似 windows 系统上的 Proxifier 的程序??

2021-02-21 01:54:13 +08:00
 cathedrel

proxifier 设置好之后随便运行什么程序全部都走代理了,但是在 linux 上就没有这么方便的,我知道“proxychains xx 程序”这样的用法,但是相比之下麻烦多了,每运行一个联网程序就要开一个 terminal 手动敲命令,比不过鼠标点点那么爽。也听说过 redsocks,但是我回避这种需要用到 iptables 命令的程序,因为我完全不懂 iptables 命令,也不准备学,要学也只学 firewalld 。

github 上搜到这种 github.com/m0hithreddy/Proxifier-For-Linux 只支持 http proxy 的,我需要支持 socks5 的

排除了这几种之后还有选择吗?

4114 次点击
所在节点    Linux
52 条回复
mason961125
2021-02-21 02:47:49 +08:00
- 我要用 Linux !
- 我不想折腾!
· 你告诉我!
masker
2021-02-21 02:51:11 +08:00
用 Windows,用什么 Linux,想马跑又不给马吃草
zictos
2021-02-21 03:04:28 +08:00
linux 下何止这一个,不方便的多了去了。win 上无论什么都基本有解决方案,安装根本不是问题,我习惯用绿色免安装软件,即便重装系统后大部分软件也能直接用。
PMR
2021-02-21 03:17:21 +08:00
回避这种需要用到 iptables 命令的程序?

BTW
firewalld based on ip*tables.



跨平台的 proxy client 不少
nuk
2021-02-21 03:18:32 +08:00
tun2socks
ysc3839
2021-02-21 05:24:45 +08:00
clash 的闭源版本支持 tun,可以自动配置代理全局流量,也能按照进程名区分。
vk42
2021-02-21 06:12:15 +08:00
@PMR 准确说现在的 iptables 和 firewalld 这些都是 nftables 的前端,老的内核 iptables 实现已经被 nftables 取代了

@cathedrel 不知道该说 lz 什么,要想折腾 Linux 又不想学相关的工具还要伸手党……
felixcode
2021-02-21 09:16:27 +08:00
Linux 还是不适合你使用
xizero00
2021-02-21 09:19:46 +08:00
proxychains
wangtuyi
2021-02-21 09:51:52 +08:00
conanforever22
2021-02-21 09:53:39 +08:00
# 我的使用环境下基本所有程序(curl/chromium)都是吃下边这几个环境变量的, 8888 是我本地 clash 端口
export http_proxy=http://127.0.0.1:8888/
export https_proxy=$http_proxy
export ftp_proxy=$http_proxy
export rsync_proxy=$http_proxy
export no_proxy="localhost,127.0.0.1,0.0.0.0,localaddress,.localdomain.com"
x2009again
2021-02-21 09:55:25 +08:00
Qv2ray 是不是可以满足?有 linux 版本
conanforever22
2021-02-21 09:55:30 +08:00
# github ssh 解决方案 .ssh/config 注意安装 socat
Host github.com
HostName github.com
User git
ProxyCommand socat - PROXY:127.0.0.1:%h:%p,proxyport=8888
love
2021-02-21 09:57:27 +08:00
如果是命令行程序,设置环境变量,比如写个小脚本
# p.sh
export http_proxy=http://localhost:8123
export https_proxy=http://localhost:8123

几乎没有命令行程序不支持这二个变量。

需要用到时打一下". p.sh",当前命令行就有代理了,想全程默认的可以把环境变量加到.bashrc

浏览器就说别提了各种支持,比如我用的是国内外分流 pac 。
cathedrel
2021-02-21 10:51:38 +08:00
@love socks5 的代理支持吗? http 和 https 代理都没有的,只有 socks 代理,能让所有程序走代理吗?
cathedrel
2021-02-21 10:52:25 +08:00
@conanforever22 这个是啥意思?我没看懂
neteroster
2021-02-21 10:54:15 +08:00
要真•全局几乎不可避免的直接或间接使用 iptables 。推荐:clash tun 模式。
cathedrel
2021-02-21 10:54:55 +08:00
@conanforever22 13 楼的我没看懂,11 楼的能把所有连接走 socks5 代理吗?
cathedrel
2021-02-21 10:56:17 +08:00
@wangtuyi 亲,这个程序太老了吧? 2011 年的还能在现代的 linux 里用起来吗?
julyclyde
2021-02-21 11:09:29 +08:00
@love 需要 source

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/754761

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX