Installation:
git clone [email protected]:mostafa1993/myvpn.git
./install.sh --user=USER --protocol=PROTOCOL --domain=DOMAIN --group=GROUPIf group is not specified in your case, use --group=''
During installation you will be asked to enter your root and vpn password.
Usage:
If you want to connect the vpn with your defualt settings, the ones used during installation, you only need to run,
myvpn start --defaultIf you want to connect with different settings,
myvpn start -u=USER -p=PROTOCOL -d=DOMAIN -g=GROUPfor stopping/restarting the vpn,
myvpn stop
myvpn restartHow to change default setting:
It is possible to change the default setting, the trivial option is to uninstall and install the program with new settings.
The better way is to access the configuration file and change the settings there. You may find the configuration file in /etc/myvpn/myvpn.config.