Netjoin is a toolset to allow users to create VPN networks as they need.
Disclaimer : This CLI does not maintain the VPN network once it has been set up!
The first version only works with the Linux clients and the OpenVPN.
Currently development is continued in this repository.
-
CentOS 6.6
-
Configuration for IP masquerade
Netjoin creates KVM instances on a given physical host. At least one network interface of the KVM instance should be accessible to the Internet. Netjoin requires iptables and ip forward are already configured.
$ cd /path/to/repo
$ bundle install --path vendor/bundle --standalone
$ PATH=/path/to/repo/bin:$PATHCreate a working directory.
$ mkdir /path/to/your/work_dirInitialize netjoin.
$ cd /path/to/your/work_dir
$ netjoin initnetjoin init generates the following files:
netjoin.ymlnetjoin_config.yml
Edit the files then hit the following.
$ netjoin upNetjoin uses keys/insecure_vpn.key as the default vpn key if nothing is specified in netjoin_config.yml.
If you want to prepare your own credentials for VPN networks,
This tutorial
of EasyRSA gives you a simple yet clear way to create required credentials.