Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Penum SOCKS5 Proxy

A minimal SOCKS5 proxy that routes traffic through the Penum protocol, allowing existing applications to use Penum for network privacy.

What is Penum-SOCKS?

Penum-SOCKS is a lightweight SOCKS5 proxy server that enables applications to route their TCP traffic through the Penum privacy network without any modifications to the applications themselves. It acts as a bridge between standard SOCKS5 clients (like web browsers and command-line tools) and the Penum protocol.

What it is NOT

  • Not a VPN: Does not tunnel all system traffic
  • Not full anonymity: Relies entirely on Penum's privacy guarantees
  • Not a general-purpose proxy: Supports only TCP CONNECT commands
  • No DNS protection: Does not handle DNS resolution through Penum

Features

  • SOCKS5 compliant proxy server
  • Supports TCP CONNECT commands only
  • No authentication required
  • Integrates with existing Penum infrastructure
  • Fail-silent error handling
  • No logging of destinations, IPs, or payloads

Requirements

  • Rust 1.56 or higher
  • Access to a running Penum network (entry relays, middle relays, gateways)

Installation

git clone <repository-url>
cd penum-socks
cargo build --release

Usage

Start the proxy server:

./target/release/penum-socks

By default, the proxy listens on 127.0.0.1:1080.

With cURL

curl --socks5 127.0.0.1:1080 https://httpbin.org/ip

With Web Browsers

Firefox

  1. Open Firefox Settings
  2. Go to Network Settings
  3. Enable "Manual proxy configuration"
  4. Set SOCKS Host to 127.0.0.1 and Port to 1080
  5. Select SOCKS v5
  6. Click OK

Chrome

Chrome uses system proxy settings on Windows/macOS. Configure your system's SOCKS proxy to:

  • Host: 127.0.0.1
  • Port: 1080
  • Type: SOCKS v5

Configuration

The proxy requires a valid Penum configuration with entry relays, middle relays, and gateways. This configuration is currently hardcoded in main.rs and should be updated to match your Penum network setup.

Limitations

See docs/limitations.md for a complete list of limitations.

Threat Model

See docs/threat-model.md for security considerations.

License

MIT

About

a minimal SOCKS5 proxy that routes traffic through the Penum protocol.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages