M
MercyNews
Home
Back
New SMTP Tunnel Tool Bypasses Deep Packet Inspection
Technology

New SMTP Tunnel Tool Bypasses Deep Packet Inspection

Hacker NewsJan 7
3 min read
📋

Key Facts

  • ✓ A fast SOCKS5 proxy that tunnels traffic through what looks like normal SMTP email
  • ✓ Client runs a local SOCKS5 proxy on 127.0.0.1:1080
  • ✓ Traffic is sent to server disguised as SMTP using EHLO, STARTTLS, and AUTH commands
  • ✓ One-liner install on any Linux VPS
  • ✓ Multi-user with per-user secrets and IP whitelists
  • ✓ Auto-generated client packages (just double-click to run)
  • ✓ Auto-reconnect on connection loss
  • ✓ Works with any app that supports SOCKS5
  • ✓ Built with Python/asyncio, TLS 1.2+, HMAC-SHA256 auth

In This Article

  1. Quick Summary
  2. How SMTP Tunnel Works
  3. Installation and Features
  4. Technical Implementation
  5. Availability and Community Response

Quick Summary#

A new networking utility called SMTP Tunnel has been developed to help users bypass Deep Packet Inspection (DPI) firewalls by disguising traffic as normal email communications.

The tool functions as a SOCKS5 proxy that tunnels data through what appears to be standard SMTP email sessions, making it difficult for network monitoring systems to detect and block the connection.

Key capabilities include:

  • Local proxy running on 127.0.0.1:1080
  • Disguised SMTP traffic using EHLO, STARTTLS, and AUTH commands
  • One-line installation on Linux VPS systems
  • Multi-user support with per-user secrets and IP whitelists
  • Auto-generated client packages for easy deployment

The system uses Python/asyncio with TLS 1.2+ encryption and HMAC-SHA256 authentication to secure communications while maintaining the appearance of legitimate email traffic.

How SMTP Tunnel Works#

The SMTP Tunnel operates by creating a local SOCKS5 proxy that runs on 127.0.0.1:1080. When applications connect to this proxy, their traffic is captured and sent to a remote server.

On the server side, the incoming connection is disguised as a standard SMTP email session. The system uses legitimate email protocol commands including:

  • EHLO - Extended Hello command to initiate SMTP sessions
  • STARTTLS - Command to upgrade connection to encrypted TLS
  • AUTH - Authentication mechanism for email servers

Deep Packet Inspection systems examining the traffic see what appears to be a normal email conversation rather than a VPN or proxy connection. This allows the tunnel to pass through firewalls that would normally block standard proxy protocols.

Installation and Features#

Installation is designed to be straightforward with a one-liner command that works on any Linux VPS. This simplified deployment process makes the tool accessible to users without extensive technical configuration.

The tool supports multi-user environments with several security features:

  • Per-user secrets - Each user has unique authentication credentials
  • IP whitelists - Access can be restricted to specific IP addresses
  • Auto-generated client packages - Clients can be created that only require double-clicking to run

Additional functionality includes auto-reconnection capabilities that automatically restore connections if they are lost. The proxy works with any application that supports SOCKS5 protocol, providing broad compatibility across different software and use cases.

Technical Implementation#

The SMTP Tunnel is built using Python/asyncio, which provides asynchronous I/O operations suitable for handling multiple concurrent connections efficiently.

Security is implemented through:

  • TLS 1.2+ encryption for all tunnel communications
  • HMAC-SHA256 authentication to verify message integrity and authenticity

The combination of these technologies ensures that while the traffic appears as SMTP email to network inspection tools, the actual data remains encrypted and secure between the client and server endpoints.

The project source code is available on GitHub, allowing users to review the implementation and deploy their own instances of the tunnel system.

Availability and Community Response#

The SMTP Tunnel project has been published on GitHub, making the source code publicly available for review and deployment. The tool was shared through a Hacker News post, where it received community attention and engagement.

According to available information, the project post generated 11 points and 1 comment on the platform, indicating initial interest from the technical community. The GitHub repository provides access to the codebase for users who want to implement the tunneling solution.

Continue scrolling for more

AI Transforms Mathematical Research and Proofs
Technology

AI Transforms Mathematical Research and Proofs

Artificial intelligence is shifting from a promise to a reality in mathematics. Machine learning models are now generating original theorems, forcing a reevaluation of research and teaching methods.

Just now
4 min
169
Read Article
Technology

Meta Pivots to AI, Cuts VR Jobs

Meta has initiated significant layoffs within its Reality Labs division and shuttered multiple VR studios. This strategic move signals a major pivot towards artificial intelligence, redirecting company resources and focus.

1h
4 min
6
Read Article
China Warns of Foreign Mapping Operations Targeting Geodata
Politics

China Warns of Foreign Mapping Operations Targeting Geodata

China's top counter-espionage agency has issued a stark warning regarding overseas entities attempting to steal the country's geographic data through covert mapping operations.

1h
3 min
7
Read Article
Kiefer Sutherland Arrested After Altercation
Entertainment

Kiefer Sutherland Arrested After Altercation

The '24' star was taken into custody by the Los Angeles Police Department following an incident near Sunset Boulevard and Fairfax Avenue. Authorities responded to a call regarding an assault.

1h
3 min
6
Read Article
BTS Announces 2026-2027 World Tour After Military Service
Entertainment

BTS Announces 2026-2027 World Tour After Military Service

After a nearly four-year hiatus, BTS has officially announced a massive 2026-2027 world tour spanning five continents and more than 70 dates. The comeback marks the group's first headline performances since completing mandatory military service.

1h
5 min
7
Read Article
Dia de Sorte: R$1.1 Million Jackpot Rolls Over
Economics

Dia de Sorte: R$1.1 Million Jackpot Rolls Over

Concurso 1163 produced no grand prize winner, causing the jackpot to accumulate to R$1.1 million. Nearly 90,000 tickets won prizes across lower tiers.

1h
3 min
6
Read Article
The Hidden Cost of Everyday Deception
Health

The Hidden Cost of Everyday Deception

Small lies may seem harmless, but they can create isolation and anxiety. Discover the psychological impact of bending the truth.

2h
3 min
6
Read Article
Economics

Lotofácil Contest 3586: R$5 Million Jackpot Rolls Over

The latest Lotofácil draw concluded without a grand prize winner, causing the jackpot to accumulate to R$5 million. Discover the winning numbers for Contest 3586 and the full breakdown of prize tiers.

2h
5 min
7
Read Article
Quina Contest 6926: Jackpot Reaches R$8 Million
Economics

Quina Contest 6926: Jackpot Reaches R$8 Million

The Quina contest 6926 concluded without a top winner, causing the jackpot to accumulate to R$8 million for the next drawing.

2h
5 min
6
Read Article
Timemania Contest 2342: R$2.4 Million Jackpot Rolls Over
Lifestyle

Timemania Contest 2342: R$2.4 Million Jackpot Rolls Over

The latest Timemania draw saw no player match all seven numbers, causing the grand prize to accumulate to R$2.4 million. Discover the winning combinations and the full list of prize categories for contest 2342.

2h
5 min
6
Read Article
🎉

You're all caught up!

Check back later for more stories

Back to Home