# wangyu-/udp2raw

A Tunnel which Turns UDP Traffic into Encrypted UDP/FakeTCP/ICMP Traffic by using Raw Socket,helps you Bypass UDP FireWalls(or Unstable UDP Environment)

Repository: https://github.com/wangyu-/udp2raw
Canonical: https://ross.abutalabs.com/products/udp2raw
Language: C++
License: MIT
License Family: permissive
Topics: tunnel, udp-tunnel, raw-tunnel, faketcp, icmp, udp, tcp, fake-header, icmp-tunnel, bypass-firewall, raw-socket, icmptunnel
Last push: 2025-10-12T07:14:28+00:00

## Health v2 (maintenance only)
Score: 44/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 46, release rhythm 8, longevity 100
- inputs: {"age_days": 3316, "days_push": 325, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8550, forks 1287 (observed 2026-08-28T04:10:23.450695+00:00)

## What it is
A C++ command-line tunnel that converts UDP traffic into encrypted FakeTCP, UDP, or ICMP traffic using raw sockets, helping bypass UDP firewalls and unstable UDP environments. It supports AES-128-CBC encryption, anti-replay protection, connection recovery, and pairs well with UDP-based VPNs like OpenVPN.

## Use cases
- bypass UDP blocking or QOS by my ISP
- tunnel OpenVPN over TCP-looking traffic to avoid TCP-over-TCP
- disguise UDP traffic as ICMP to pass restrictive firewalls
- keep VPN connection alive when switching WiFi or replugging network cable
- encrypt and protect UDP traffic from replay attacks
- run a tunnel on an OpenWRT router or Raspberry Pi

## When to choose
- you need to traverse firewalls or ISPs that block, throttle, or mishandle UDP
- you want to run OpenVPN or another UDP-based VPN without TCP-over-TCP performance issues
- you need a lightweight, dependency-free tunnel on Linux, Android, or OpenWRT with root access

## When to avoid
- you cannot get root or cap_net_raw capability on the host
- your platform is Windows or macOS and you don't want to use the separate multiplatform fork
- you need a general-purpose VPN rather than a UDP traffic tunnel

## Facets
- artifact type: cli-tool
- maturity: active
- function: networking, security, cryptography, proxy
- domain: networking, security, privacy, censorship-circumvention
- platform: cli, cross-platform
- tags: udp-tunnel, raw-socket, faketcp, icmp-tunnel, firewall-bypass, openvpn, tunnel, linux, android

## Member repositories
- wangyu-/udp2raw (main) score 44

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:23.450695+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:26:19.482827+00:00, confidence not recorded.
  - readme: https://github.com/wangyu-/udp2raw (fetched 2026-08-28T04:10:23.450695+00:00, sha ccce1f082a52)
- Data as of 2026-08-30T08:39:29.467469+00:00.
