dns2tcp
« Back to VersTracker
Description:
TCP over DNS tunnel
Type: Formula  |  Latest Version: 0.5.2@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Networking
Tags: tunneling networking dns security firewall-bypass
Install: brew install dns2tcp
About:
dns2tcp is a command-line tool that encapsulates TCP connections within DNS queries, enabling network connectivity in restrictive environments. It bypasses firewall restrictions by tunneling TCP traffic through DNS protocol, which is often less restricted. This utility is particularly useful for accessing services when standard network ports are blocked.
Key Features:
  • Client and server components for full tunneling capabilities
  • Supports both TCP and UDP over DNS tunneling
  • Configurable encryption and authentication options
  • Lightweight with minimal dependencies
Use Cases:
  • Bypassing corporate or institutional firewalls that block standard web traffic
  • Establishing remote access to services on networks with restrictive DNS policies
  • Penetration testing and network security assessments
Alternatives:
  • iodine – iodine provides IP-over-DNS tunneling, while dns2tcp focuses specifically on TCP connections
  • dnscat2 – dnscat2 is designed for command and control with encrypted channels, whereas dns2tcp is more general-purpose TCP tunneling
License: GPL-2.0-or-later
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, arm64_monterey, arm64_big_sur, sonoma, ventura, monterey, big_sur, catalina, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 14, 2025 7:33pm 0 VERSION_BUMP 3c7af906