GitHub

Transparent SSL/TLS Interception
Proxy for Linux

A powerful interception proxy written in Go that redirects HTTP/HTTPS traffic using iptables NAT for inspection, logging, and content modification.

Security Warning: This tool performs TLS/SSL interception (MITM). Only use in controlled environments you own.

Features

Everything for network traffic inspection and manipulation

TLS/SSL MITM

Dynamically generates certificates for intercepted HTTPS connections with full decryption and re-encryption.

Traffic Logging

Full request/response capture stored in SQLite with searchable interface and detailed inspection.

Web Dashboard

Real-time traffic view, policy management, rewrite rules, and system control from a modern UI.

WireGuard Egress

Route traffic through WireGuard tunnels with runtime toggleable control from the dashboard.

Tor Egress

Anonymize upstream traffic through Tor SOCKS5 proxy with easy runtime toggling.

Response Rewriting

Modify HTTP/HTTPS responses on the fly using JSON rewrite rules with auto-reload on changes.

PCAP Export

Export decrypted traffic to PCAP files for Wireshark analysis and deeper inspection.

Content Blocking

Drop or bypass inspection by domain, IP, or CIDR with flexible allowlist mode support.

REST API

Full REST API for automation, integration, and programmatic control of all features.

Quick Start

Get up and running in minutes

bash
# 1. Clone the repository
git clone https://github.com/dmitryporotnikov/SSLInspectingRouter.git

# 2. Run setup script (enables IP forwarding, checks dependencies)
cd SSLInspectingRouter
sudo ./scripts/setup.sh

# 3. Run the router (requires root)
sudo ./sslinspectingrouter -web :3000

# 4. Access the web dashboard
# Open http://<router-ip>:3000 in your browser
# Default credentials: admin / admin123

How It Works

Transparent traffic interception using iptables NAT

Client

Device

SSLInspectingRouter

Intercept & Decrypt

Destination

Internet

Log to SQLite
Display on Dashboard
Optional Rewrites
Export PCAP

Dashboard Preview

Real-time traffic monitoring and control

SSLInspectingRouter Dashboard Preview