Total Pageviews

Thursday 19 September 2019

SwirlVPN

Full source to create a VPN service optimised for mobile phones
SwirlVPN is a VPN service optimised for Mobile Phones. This source code repository contains the source for creating such a service. It includes:
  • Web Server: a web server with user account creation/managment.
  • Regional Server: a VPN server that runs a remote VPN node, there can be many of these running, this is to where the users connect their VPN sessions to.
  • Master Server: a master server that Regional Servers communicate with to authorise users
The technology is built using:
  • Node.JS as the primary server platform. Node relies on:
    • ExpressJS - using Jade
    • Mongoose (for MongoDB connectivity)
  • MongoDB as the database
  • OpenVPN as the VPN technology

Configuration

The configuration is mostly in the "./common/config.js" folder. If there are any other configuration options, these can be found by searching for "CONFIG_TODO".

Overview of setup

The diagram below shows how SwirlVPN looks when it is setup. The IP range 10.8.0.* marks the internal network of the SwirlVPN servers, client traffic does not move through this network, it is only for server-to-server comms. The 10.10.0.* network range is what the VPN clients get assigned when they connect.

from https://github.com/psiphi75/SwirlVPN

相关帖子:
https://briteming.blogspot.com/2017/07/openvpnopenvpn-installopenvpnopenvpn.html

 



No comments:

Post a Comment