# redsocks

> Transparent redirector of any TCP connection to proxy

**Wikidata**: [Q128800524](https://www.wikidata.org/wiki/Q128800524)  
**Source**: https://4ort.xyz/entity/redsocks-q128800524

## Summary
Redsocks is a software utility designed to function as a transparent redirector for any TCP connection. Its primary purpose is to route these connections through a proxy server. It is widely available through various package managers, including Debian, Gentoo, and Homebrew.

## Key Facts
- **Description:** Transparent redirector of any TCP connection to proxy.
- **Entity Type:** Software (non-tangible executable component).
- **Gentoo Package:** `net-proxy/redsocks`
- **Debian Package:** `redsocks` (available in stable repositories).
- **Homebrew Formula:** `redsocks`
- **AlternativeTo ID:** `redsocks`

## FAQs
### Q: What is the primary function of redsocks?
A: Redsocks operates as a transparent redirector. It intercepts any TCP connection and redirects it to a proxy server.

### Q: Is redsocks a physical hardware component?
A: No. Redsocks is strictly classified as software, defined as a non-tangible executable component of a computer system.

### Q: On which operating systems is redsocks available?
A: Redsocks is available on Linux distributions such as Gentoo and Debian (via the `net-proxy/redsocks` and `redsocks` packages respectively) and is also installable on macOS via the Homebrew formula `redsocks`.

## Why It Matters
Redsocks addresses a specific technical need in network administration: the ability to transparently proxy network traffic. Unlike explicit proxies that require client-side configuration, a transparent redirector allows network traffic to be routed through a proxy without the originating application necessarily being aware of it. This simplifies network management and ensures that TCP traffic adheres to routing policies.

The tool's significance is further evidenced by its integration into major software repositories. Its inclusion in the stable branches of Debian, the Portage tree of Gentoo, and the Homebrew package manager indicates that it is a recognized, reliable, and maintained solution for proxy redirection across different Unix-like environments.

## Notable For
- **Transparent Redirection:** Distinguished by its ability to redirect *any* TCP connection, not just traffic from specific applications.
- **Broad Package Support:** Notable for its native availability in major package repositories like Debian Stable and Gentoo.
- **Cross-Platform Availability:** While common in Linux environments, it is also supported on macOS via Homebrew.

## Body

### Software Classification
Redsocks is a software application, categorized as a non-tangible executable component of a computer. It functions as a network utility.

### Technical Functionality
The core functionality of redsocks is defined by its role as a "transparent redirector." It acts as an intermediary that automatically routes TCP connections to a designated proxy. This differs from standard proxy configurations where the client application must be explicitly configured to point to the proxy address; redsocks facilitates the redirection process transparently.

### Distribution and Availability
Redsocks is distributed through several major software channels, confirming its utility in the open-source ecosystem:
*   **Debian:** Available in the stable repository under the package name `redsocks`.
*   **Gentoo:** Available in the Portage tree under the category `net-proxy/redsocks`.
*   **Homebrew:** Available for macOS users via the formula name `redsocks`.
*   **AlternativeTo:** The project is indexed on the software discovery platform AlternativeTo with the ID `redsocks`.