ProxyChains: TCP connection proxy redirection tool
Force TCP connections through chained SOCKS/HTTP proxies via LD_PRELOAD.
Learn more about ProxyChains
ProxyChains is a Unix utility that redirects TCP connections through proxy servers by hooking network-related libc functions in dynamically linked programs. It works by preloading a shared library that intercepts calls to connection functions, allowing traffic to be routed through SOCKS4a, SOCKS5, or HTTP proxies. The tool supports proxy chaining, mixing different proxy types in sequence, and includes built-in DNS resolution through proxies. It operates only on dynamically linked binaries that share the same libc as the ProxyChains installation, and requires no modifications to target applications.
Proxy chain mixing
Supports combining multiple proxy types in a single chain, such as SOCKS5 followed by HTTP followed by SOCKS4, allowing flexible routing through heterogeneous proxy infrastructure.
Dynamic DNS resolution
Performs DNS lookups through the proxy chain rather than locally, enabling access to resources only resolvable from within the proxy network and supporting Tor onion addresses.
Transparent application proxification
Uses libc function interception to redirect connections without requiring application-level proxy support or source code modifications, working with unmodified binaries like telnet, nmap, and other network tools.
import ctypes
import os
# Preload ProxyChains library to intercept network calls
os.environ['LD_PRELOAD'] = '/usr/lib/libproxychains.so.3'
import requests
# All requests will now route through configured proxies
response = requests.get('https://api.ipify.org?format=json')
print(f"Public IP: {response.json()['ip']}")See how people are using ProxyChains
Top in Networking
Related Repositories
Discover similar tools and frameworks used by developers
ngrok
Original ngrok v1 reverse proxy (2013-2016, archived). For current ngrok, see the cloud service.
youtubeUnblock
Linux tool that bypasses YouTube access restrictions by manipulating SNI in network traffic.
Nginx Proxy Manager
Web UI for Nginx reverse proxy and SSL management.
croc
CLI tool for encrypted file transfers between computers via relay servers, no port forwarding needed.
Zapret
Windows zapret implementation for bypassing Discord and YouTube restrictions via DPI circumvention.
Related Reading
Guides and comparisons from the Greptile content library
Best Developer Productivity Tools in 2026
The best developer productivity tools in 2026, compared by the workflow problem they solve: code review, autocomplete, AI-native editing, terminal agents, code search, observability, and security.
Top AI Code Review Tools for Small Dev Teams 2026
Affordable, lightweight AI code review tools that help small teams catch bugs faster. Practical comparisons of accuracy, ease of use, and value for teams without enterprise budgets.
Best AI Code Review Tools for GitLab
Enterprise-grade AI code review tools for GitLab teams. In-depth comparison of accuracy, security, and integration features to accelerate your merge request workflows.
Choosing the Right Code Review Tool: Better Alternatives to Graphite AI
A breakdown of the best alternatives to Graphite for code reviews. Compare AI tools like Trag, open-source solutions like Gerrit, and database-focused platforms like Visual Expert.