is it possible to host a vpn server using node js? [closed]

十年热恋 提交于 2020-07-03 02:35:10

问题


I know about the possibility of creating an http server, but I was just wondering if it's possible to host a VPN server using node js? This will make it very easy to create restrictions for the connection or block certain websites for example...

I can't find an npm package for hosting a vpn server. Any suggestions?


回答1:


One of the solutions that I would suggest is:

  1. To install openvpn. And to use and node client to interact with the openvpn server
  2. Npm package https://github.com/luigiplr/node-openvpn


来源:https://stackoverflow.com/questions/48477990/is-it-possible-to-host-a-vpn-server-using-node-js

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