Blackwind Service Portal for account registration & VPN device management
DGIST students can make blackwind service account,
and connect their devices to our VPN system through this portal
git clone https://github.com/blackwind-code/blackwind-portal.git
cd blackwind-portal/cmd/blackwind-portal
go build main.go
- You need golang installed on your system
- You need blackwind-portal-driver up and running
export SECRET=<secret-password>
export VPN_DRIVER_URL=<blackwind-portal-driver-ip:port>
export OPENSTACK_DRIVER_URL=<blackwind-portal-driver-ip:port>
export CLOUDFLARE_X_AUTH_EMAIL=<cloudflare-email>
export CLOUDFLARE_GLOBAL_KEY=<cloudflare-global-api-key>
export DOMAIN_ZONE_IDENTIFIER=<cloudflare-dgist.cloud-zxone-id>
cd blackwind-portal/cmd/blackwind-portal/
./main serve
Register admin account on first startup (http://127.0.0.1:8090/_/)
Admin page: Settings(on the left menu bar) -> Import collections -> Load from JSON file -> import "config/pb_schema.json"