Archive for April, 2020
rustun – Virtual Not Private Network in 100 Rust lines
Posted by scriptjunkie in Uncategorized on April 1, 2020
While stuck at home I wrote a simple Linux tunnel (“VPN” but not encrypted/authenticated) in 100 lines of Rust. This is a PoC, not an OpenVPN replacement; just sending the IP layers and above over UDP. Specifically, it creates a tun device, enables the device, sets the device’s IP and netmask, and forwards packets in […]