DSVPN is a Dead Simple VPN, designed to address the most common use case for using a VPN. Runs on TCP. Works pretty much everywhere, including on public WiFi where only TCP/443 is open or reliable. Uses only modern cryptography, with formally verified implementations. Small and constant memory footprint. Doesn't perform any heap memory allocations. Small (~25 KB), with an equally small and readable code base. No external dependencies. Works out of the box. No lousy documentation to read. No configuration file. No post-configuration. Run a single-line command on the server, a similar one on the client and you're done. No firewall and routing rules to manually mess with. Doesn't leak between reconnects if the network doesn't change. Blocks IPv6 on the client to prevent IPv6 leaks. Works on Linux (kernel >= 3.17), macOS and OpenBSD, as well as DragonFly BSD, FreeBSD and NetBSD in client and point-to-point modes. Adding support for other operating systems is trivial.

Features

  • DSVPN uses a shared secret
  • If required, keys can be exported and imported in printable form
  • Just hit Ctrl-C to disconnect
  • The cryptographic primitives used in DSVPN are available as a standalone project
  • Runs on TCP
  • Uses only modern cryptography, with formally verified implementations

Project Samples

Project Activity

See All Activity >

Categories

Security, VPN

License

MIT License

Follow DSVPN

DSVPN Web Site

Other Useful Business Software
Go from Code to Production URL in Seconds Icon
Go from Code to Production URL in Seconds

Cloud Run deploys apps in any language instantly. Scales to zero. Pay only when code runs.

Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
Try it free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of DSVPN!

Additional Project Details

Operating Systems

Linux, Mac, OpenBSD

Programming Language

C

Related Categories

C Security Software, C VPN Software

Registered

2021-11-03