#tcp-stream #layer #nat #firewall #udp

bin+lib phantun

Transforms UDP stream into (fake) TCP streams that can go through Layer 3 & Layer 4 (NAPT) firewalls/NATs

18 releases

Uses new Rust 2024

0.8.1 Aug 23, 2025
0.6.0 Oct 25, 2022
0.5.0 May 13, 2022
0.2.5 Jan 3, 2022
0.2.3 Nov 19, 2021

#1495 in Network programming

Download history

747 downloads per month

MIT/Apache

63KB
1.5K SLoC

Phantun

Client/Server crate, see Phantun Project README.md for more information.

License

Copyright 2021-2025 Datong Sun dndx@idndx.com

Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your option. Files in the project may not be copied, modified, or distributed except according to those terms.

Dependencies

~11–23MB
~282K SLoC