Download tun2socks – TUN to SOCKS5 Transparent Network Tunneling Tool

tun2socks is a free open-source Go tool that routes all system TCP/UDP traffic through a SOCKS5 or HTTP proxy via a TUN virtual interface for transparent proxying.

Download
  • Publisher:
    tun2socks Team
  • Version:
    2.6.0
  • License:
    Free
  • File Size:
    2 MB
  • Downloads:
    2189
  • Updated:
    26/09/2025
  • Requirements:
    Windows7,8,10,11

tun2socks is a lightweight, open-source network tool that creates a TUN (network tunnel) interface and routes all TCP and UDP traffic through a SOCKS5 or HTTP proxy. It enables system-wide proxy support for any application without requiring individual apps to be proxy-aware, making it a powerful building block for VPN clients, privacy tools, and network routing setups.

Written in Go, tun2socks operates at the network layer by intercepting IP packets from the TUN virtual interface and forwarding them through the configured proxy. This allows applications that don’t natively support SOCKS proxies to have their traffic tunneled transparently. It is widely used as a component in proxy clients, VPN apps, and custom network configurations on Windows, Linux, and macOS.

tun2socks supports both SOCKS4, SOCKS5, and HTTP proxy protocols, as well as VMess and other transport protocols via optional plugins. It is commonly used alongside tools like Clash, V2Ray, and other proxy clients to provide transparent system-wide proxying on desktop and server environments.

Key Features

  • Routes all system TCP and UDP traffic through a SOCKS5 or HTTP proxy via a TUN interface.
  • Enables transparent proxy support for apps that don’t natively support SOCKS.
  • Supports SOCKS4, SOCKS5, and HTTP proxy protocols.
  • Written in Go — fast, lightweight, and cross-platform (Windows, Linux, macOS).
  • Works alongside proxy clients like Clash, V2Ray, and Xray for full-tunnel VPN setups.
  • Low-level network operation with minimal CPU and memory overhead.
  • Open source under the MIT license — free and highly customizable.
tun2socks tunneling TCP and UDP traffic through SOCKS5 proxy

How to Install

  1. Download the tun2socks binary for your operating system from the link below.
  2. On Linux/macOS, make it executable: chmod +x tun2socks
  3. Create a TUN interface (Linux example): ip tuntap add dev tun0 mode tun
  4. Run tun2socks pointing to your SOCKS5 proxy: tun2socks -device tun0 -proxy socks5://127.0.0.1:1080
  5. Configure your system routing table to direct traffic through the tun0 interface for full tunnel operation.

Frequently Asked Questions about tun2socks – TUN to SOCKS5 Transparent Network Tunneling Tool

Is tun2socks – TUN to SOCKS5 Transparent Network Tunneling Tool free?

tun2socks – TUN to SOCKS5 Transparent Network Tunneling Tool is completely free to download and use — no registration or payment required.

What are the system requirements for tun2socks – TUN to SOCKS5 Transparent Network Tunneling Tool?

Minimum requirements: Windows7,8,10,11. A modern PC with at least 2GB RAM is recommended.

What is the latest version of tun2socks – TUN to SOCKS5 Transparent Network Tunneling Tool?

The latest version is 2.6.0, updated on 26/09/2025.

Is tun2socks – TUN to SOCKS5 Transparent Network Tunneling Tool safe to download?

Yes. All software listed on download.viet33.com is sourced directly from the official developer and verified before publishing. No bundled adware or malware.

Does tun2socks – TUN to SOCKS5 Transparent Network Tunneling Tool work on Windows 11?

Yes, tun2socks – TUN to SOCKS5 Transparent Network Tunneling Tool is compatible with Windows7,8,10,11, including Windows 11.

Other Versions