#vpn #tun #encryption #network

nightly cobweb

A Rust library for creating encrypted VPNs, focused on simplicity and security

6 releases

0.2.2 May 18, 2019
0.2.1 May 18, 2019
0.1.2 May 17, 2019
0.1.0 Apr 18, 2019

#11 in #tun


174 lines


Cobweb is a Rust library for creating fully asynchronous, encrypted VPNs, focused on simplicity and security. It supports both Mac and Linux - Windows support is a long-term goal but not planned.

Check out the documentation and examples for more info on how to use the library.

Cobweb is licensed under AGPLv3 to make sure that is free software and stays as free software. If you want a relicensed version for your project, email me and we (the contributers) will talk with you.


Check the examples directory in the repository for example VPN client and server implementations.

Next Release

Cobweb is currently in its 0.2.0 release - it provides enough features and documentation to be used powerfully, but lacks planned features, could use some better error handling and is not thoroughly tested. Use at your own risk.

0.2.1 will see the first release of the optional async-await-preview feature to the crate. This flag will give access to code based on the upcoming std::Future and async/await APIs. Once those APIs become stable, the code based on the futures crate will be deprecated and moved under an optional old-futures flag, and Cobweb will see its 0.3.0 release.


~124K SLoC