2023 07 26


Tags: networking vpn
Reading time: less than 1 minute

VPN server and client in Python

I wrote my own VPN with Python using the TUN/TAP interface. I also wrote my own VPN server using Python and its asyncio library.

This worked pretty well.

I had never used TUN/TAP before, so this was a good exercise to learn how that worked. The initial TUN/TAP code from this project (along with the knowledge I gained from making a centralized, single-server VPN) ended up being part of the Smolmesh2 mesh VPN.

Citation

If you find this work useful, please cite it as:
@article{yaltirakli,
  title   = "2023 07 26",
  author  = "Yaltirakli, Gokberk",
  journal = "gkbrk.com",
  year    = "2024",
  url     = "https://www.gkbrk.com/journal/2023-07-26"
}
Not using BibTeX? Click here for more citation styles.
IEEE Citation
Gokberk Yaltirakli, "2023 07 26", December, 2024. [Online]. Available: https://www.gkbrk.com/journal/2023-07-26. [Accessed Dec. 24, 2024].
APA Style
Yaltirakli, G. (2024, December 24). 2023 07 26. https://www.gkbrk.com/journal/2023-07-26
Bluebook Style
Gokberk Yaltirakli, 2023 07 26, GKBRK.COM (Dec. 24, 2024), https://www.gkbrk.com/journal/2023-07-26

Comments

© 2024 Gokberk Yaltirakli