GateWireguard is based on WireGuard VPN Backend, also, it provides better security, faster speeds; it's much easier to install and run.
Apart from devtools you need to install the following packages as well.
apt-get install libmysqlclient-dev
apt-get install libyaml-dev
Gate now uses semantic versioning to add more visibility on breaking changes. For users, you might want to check CHANGELOG.md. For contributors, check CONTRIBUTING.md.
Gate is a single sign-on (SSO) platform for centralised authentication across Linux, OpenVPN and CAS.
Gate works by automating OpenVPN profile creation for you and also providing you with google multi-factor authentication (MFA) integration. Gate provides single MFA Token authorisation across your organisation. Following scenarios can be handled by Gate:
The entry point for self sign-in is Google mail authentication. If you don't use Google mail authentication, you can point gate to any OAuth provider and it should work.
Gate provides you with single sign-on solution plus centralised user management across your applications and services. Not only it helps in controlling users access but it also helps in making most of it automated.
We are in the process of improving Gate setup process, please check back for updated instructions.
bundler
gem is installed.bundle install
rake app:init
to create environment file based on sample (we use dotenv to manage environment variables).If you setup Gate for development purpose and you want to avoid setting up OAuth, you can fill
SIGN_IN_TYPE
environment variable withform
. This option will provide you with sign-in form in Gate homepage that you can fill with e-mail and name to sign-in.Note that you still need to update
GATE_HOSTED_DOMAINS
to serve your e-mail domain.
Check this guide For detailed information on how to setup OAuth.
GATE_DB_HOST
, GATE_DB_PORT
, GATE_DB_USER
, GATE_DB_PASSWORD
) on .env
.CACHE_DB
, CACHE_HOST
).To finalize your setup you just need to run rake app:setup
. This command will setup your database and also run inital set of tests to make sure you have a successful setup.
Once Gate is setup, sign-in with your user and you should see welcome page with VPN profile download and VPN MFA Scanning.
If you want Gate to setup VPN for you then just install OpenVPN with easy rsa. Gate should just work fine with it.
NOTE We will be putting more effort to automate VPN setup using Gate as well. Or you can send a pull request to help us with this.
docker build -t gate .
.env
file according to .env.example
with appropriate valuesdocker run -p 3000:3000 --env-file=.env -it gate
docker-compose up
See CHANGELOG.md
See CONTRIBUTING.md
MIT License, See LICENSE.