how to create a vpn software

空扰寡人 提交于 2019-12-23 18:32:36

问题


I want to create an application which creates a VPN between some endpoints, something like hamachi and i do not have a starting point. I haven't found any resource to explain how to create such a network application.I want to use c# because i have some experience with it. I really need some help, anything that can put me on the right way. Thanks.


回答1:


There are a number of distinct elements of VPN software that you'll have to figure out:

  • What technology/standard will your program use to provide the privacy? Some common ones are IPSEC, L2TP, PPTP, SSH, and SSL. Web searches ought to turn up rich information (including RFCs) on all of these. If you're doing this as a learning exercise, rather than needing actual security, you could also design your own.
  • Are you implementing a client, a server, or both?
  • What operating system(s) will you support? This affects what you need to do to convince it to route packets through your application.
  • Do you plan to interoperate with software implementing some standard?



回答2:


You might want to take a look at SSH tunneling and see if it solves your needs.



来源:https://stackoverflow.com/questions/2074780/how-to-create-a-vpn-software

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!