Skip to main content

Python CLI client for slipstream-rust DNS tunnel

Project description

LocalStream

A Python command-line client for slipstream-rust DNS tunnel.

Features

  • VPN Mode: System-wide traffic tunneling (requires Admin)
  • PROXY Mode: SOCKS5 proxy on local port
  • Auto-reconnect on connection drops
  • Easy pip installation
  • Colorful CLI interface

Requirements

  • Python 3.13+
  • Windows OS
  • Administrator privileges (for VPN Mode)

Installation

pip install -e .

Usage

LocalStream          # Normal user (PROXY mode only)
# Run as Administrator for VPN mode

Menu Options

[1] Connect to server
    ├── [1] VPN Mode   (system-wide, requires Admin)
    ├── [2] PROXY Mode (SOCKS5 only)
    └── [3] Back
[2] Edit configuration
[3] Exit

Keyboard Shortcuts

  • Ctrl+C: Disconnect and exit
  • Ctrl+D: Restart connection

Configuration

Config stored in ~/.localstream/config.json:

{
  "server_ip": "203.0.113.2",
  "server_port": 53,
  "local_port": 5201,
  "domain": "s.example.com"
}

Downloaded Binaries

Stored in ~/.localstream/bin/:

  • slipstream-client.exe - DNS tunnel client
  • tun2proxy.exe - TUN adapter for VPN mode
  • wintun.dll - Windows TUN driver

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

localstream-1.0.0.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

localstream-1.0.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file localstream-1.0.0.tar.gz.

File metadata

  • Download URL: localstream-1.0.0.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for localstream-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8afad662636aee3b1a7049777b1c97d7087f9b6c55dc2f71ecc766fff37b0057
MD5 e98327ef44d6bda56e23e08de7d7e388
BLAKE2b-256 1c9bcda1ee4bdb822322dc48e7eb902bd9e176ccf3ced71ca16ca5c8bb6da3c9

See more details on using hashes here.

File details

Details for the file localstream-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: localstream-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for localstream-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9720461c4cdc386eb18b9fce5e1a6c3adf1c8c78c414b97b34dcc378cf7b3ede
MD5 476ed80b9410e18a9799475dc7b0c3f3
BLAKE2b-256 f31a90e64e7cba979207fca59d816f59612b4ca22e1c09c7608e29979260e027

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page