Skip to content

yiransheng/wontun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wontun : an insecure and fragile toy vpn

Write up

https://write.yiransheng.com/vpn

You absolutely should not use this application over the public Internet.

Features

  • Modeled after wireguard without the unnecessary security features and robustness
  • Notably stealing a lot from boringtun
  • Recognizes a subset of wireguard configurations
  • Requires a pile of bash scripts to run (best to read the article above if you want to run the thing)

Example network topology

Terminal tab 1, using server.conf:

./run.sh docker server.conf

Terminal tab 2, using client-B.conf

./run.sh docker client-B.conf

Terminal tab 3, using ton0.conf

./run.sh host

Terminal tab 4 (traceroute from host to client-B):

traceroute to 10.10.0.2 (10.10.0.2), 64 hops max
  1   10.10.0.1  0.116ms  0.179ms  0.268ms
  2   10.10.0.2  0.309ms  0.287ms  0.234ms

About

write your own vpn

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages