git404hub

what is udpproxy fr?

last8exile/udpproxy — explained in plain English

Analysis updated 2026-05-18

1C#Audience · developerComplexity · 3/5Setup · moderate

tl;dr

A two part tool that tunnels UDP game traffic over TCP using GRPC, letting apps connect through networks that block UDP and VPNs.

vibe map

mindmap
  root((repo))
    What it does
      UDP over TCP tunnel
      gRPC transport
      Bypass UDP blocks
    Tech stack
      C#
      ASP.NET Core
      gRPC
    Use cases
      Game server access
      Restricted networks
      Reverse proxy setups
    Audience
      Developers
      Gamers on restricted networks

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Connect to a game server like a Factorio headless server from a network that blocks UDP and VPN traffic.

VIBE 2

Tunnel UDP application traffic over a TCP connection that looks like normal HTTPS web traffic.

VIBE 3

Run a lightweight reverse-proxy-friendly relay for UDP endpoints using gRPC over HTTP/2.

what's the stack?

C#ASP.NET CoregRPCHTTP/2

how it stacks up fr

last8exile/udpproxyanton-petrov/rsabackdoordanx299/simdrop
Stars111
LanguageC#C#C#
Last pushed2015-01-20
MaintenanceDormant
Setup difficultymoderatemoderateeasy
Complexity3/53/51/5
Audiencedeveloperresearchergeneral

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · moderate time til it works · 30min

Requires a reverse proxy configured for TLS and h2c since the server component does not handle HTTPS itself.

in plain english

UdpProxy is a small tool for tunneling UDP traffic over TCP when a network blocks UDP and VPN connections but still allows normal https requests. The author built it to connect to a Factorio game server running headless from behind a restricted network where only outgoing web requests were possible. It is made of two small programs. Tcp2Udp runs on the server side and Udp2Tcp runs on the client side, and together they let UDP traffic pass through a connection that looks like ordinary web traffic to anything watching the network. Under the hood, the two programs talk to each other using GRPC over HTTP 2, chosen because it is fast and low latency, fast enough to play Factorio multiplayer without noticeable lag. The author also tried SignalR, which sends data over WebSockets on HTTP 1.1, but found it too slow and unresponsive. Establishing the TCP connection only goes one direction, but once it is set up, the UDP traffic it carries flows both ways. Tcp2Udp is an ASP.NET Core application meant to run on a server that can talk directly to the real UDP destination. It listens for incoming GRPC connections and can serve several clients at once, giving each one its own UDP client internally. It relies on a library called Magic Onion to make working with GRPC easier. Because it does not handle HTTPS on its own, it is meant to sit behind a reverse proxy that takes care of TLS, and the README includes hosting tips about h2c protocol settings and disabling request timeouts so the reverse proxy does not close the long lived GRPC connection. Udp2Tcp is a console app that runs on the client machine. It connects to the Tcp2Udp server over GRPC, then listens for local UDP traffic and forwards it in both directions. A single instance only supports one client. You start it with a local port number and the server's URL, wait for a connected message, then point your application at the local port instead of the real UDP endpoint. The README is upfront about security limits: the exposed UDP endpoint has no authentication, and a malicious client could potentially guess another client's connection ID and interfere with their traffic, something the author flags as a known weakness. It is not a VPN or a system wide proxy, applications must be configured to connect to it directly.

prompts (copy fr)

prompt 1
Help me set up Tcp2Udp on my server and point it at a local UDP game server address.
prompt 2
Show me how to configure a reverse proxy in front of Tcp2Udp to handle TLS and h2c correctly.
prompt 3
Run Udp2Tcp on my client machine and connect it to my Tcp2Udp server URL.
prompt 4
Explain the security risks of UdpProxy's lack of authentication before I expose it publicly.

Frequently asked questions

what is udpproxy fr?

A two part tool that tunnels UDP game traffic over TCP using GRPC, letting apps connect through networks that block UDP and VPNs.

What language is udpproxy written in?

Mainly C#. The stack also includes C#, ASP.NET Core, gRPC.

How hard is udpproxy to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is udpproxy for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.