Skip to content

Latest commit

 

History

History
43 lines (24 loc) · 958 Bytes

File metadata and controls

43 lines (24 loc) · 958 Bytes

Installation:

git clone git@github.com:mostafa1993/myvpn.git
./install.sh --user=USER --protocol=PROTOCOL --domain=DOMAIN --group=GROUP

If 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 --default

If you want to connect with different settings,

myvpn start -u=USER -p=PROTOCOL -d=DOMAIN -g=GROUP

for stopping/restarting the vpn,

myvpn stop
myvpn restart

How 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.