Auto-sync: 2026-04-17 08:37

This commit is contained in:
2026-04-17 08:38:12 +08:00
parent 6caa1c2f47
commit a0a48bd334
247 changed files with 6577 additions and 3061 deletions

View File

@@ -0,0 +1,34 @@
---
title: "代理链 (ProxyChains)"
type: concept
tags: [proxy, network]
last_updated: 2026-04-17
---
## Definition
ProxyChains代理链是一个 Linux/Unix 工具,它可以强制任何终端命令通过 SOCKS5、HTTP 或 HTTPS 代理运行,使原本不支持代理的程序也能使用代理访问网络。
## Aliases
- proxychains
- proxychains4
## How It Works
ProxyChains 通过 LD_PRELOAD 机制劫持网络连接函数,将程序的网络请求重定向到指定的代理服务器。
## Configuration
配置文件通常位于 `/etc/proxychains4.conf`(旧版本为 `/etc/proxychains.conf`
```
[ProxyList]
socks5 127.0.0.1 10808
```
## Usage
```bash
proxychains4 curl https://www.google.com
proxychains4 git clone https://github.com/...
```
## Related Concepts
- [[SOCKS5代理]]ProxyChains 支持的代理类型之一
- [[透明代理]]:另一种强制流量走代理的机制