{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["net"],"comment":"Proxy UDP traffic over a TCP stream","compare":null,"dependentCount":null,"description":"udp-over-tcp is a library and binaries for tunneling UDP datagrams over\na TCP stream.\n\nSome programs/protocols only work over UDP. And some networks only allow TCP.\nThis is where `udp-over-tcp` comes in handy. This library comes in two parts:\n\n* `udp2tcp` - Forwards incoming UDP datagrams over a TCP stream. The return\n  stream is translated back to datagrams and sent back out over UDP again.\n  This part can be easily used as both a library and a binary.\n  So it can be run standalone, but can also easily be included in other\n  Rust programs. The UDP socket is connected to the peer address of the first\n  incoming datagram. So one [`Udp2Tcp`] instance can handle traffic from a\n  single peer only.\n* `tcp2udp` - Accepts connections over TCP and translates + forwards the\n  incoming stream as UDP datagrams to the destination specified during setup\n  and on the command line.\n  Designed mostly to be a standalone executable to run on servers. But can be\n  consumed as a Rust library as well.","flavors":[],"html":"https://daemonports.org/dragonfly/net/udp-over-tcp/","kind":"port","lastUpdate":null,"license":["MIT"],"maintainer":"yuri@FreeBSD.org","name":"udp-over-tcp","newest":true,"newestVersion":"0.4.0","noVulnData":false,"origin":"net/udp-over-tcp","otherSystems":[{"maintainer":"yuri@FreeBSD.org","newest":true,"origin":"net/udp-over-tcp","path":"/net/udp-over-tcp/","system":"FreeBSD","updated":"2026-10-14","version":"0.4.0_23"},{"maintainer":"yuri@FreeBSD.org","newest":true,"noVulnData":true,"origin":"net/udp-over-tcp","path":"","system":"HardenedBSD","version":"0.4.0_21"},{"maintainer":"yuri@FreeBSD.org","newest":true,"noVulnData":true,"origin":"net/udp-over-tcp","path":"","system":"GhostBSD","version":"0.4.0_21"}],"packages":null,"pkgName":"udp-over-tcp-0.4.0_8","related":null,"repository":"DPorts","requiredBy":[],"requiredByCount":0,"runDepends":[],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"0.4.0_8","versions":null,"vulnerabilities":null,"www":"https://github.com/mullvad/udp-over-tcp"}
