问题
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:
- To install openvpn. And to use and node client to interact with the openvpn server
- Npm package https://github.com/luigiplr/node-openvpn
来源:https://stackoverflow.com/questions/48477990/is-it-possible-to-host-a-vpn-server-using-node-js