Discord bot for managing WireGuard VPN servers on Google Cloud Platform.
-
Install dependencies
npm install
-
Configure environment
cp env.example .env # Fill in your Discord bot token and GCP project ID -
Deploy GCP service account
- Place
discord-service-account.jsonin project root - Ensure service account has Compute Engine permissions
- Place
-
Configure firewall rules
- Allow wireguard port in GCP firewall
-
Run bot
npm run dev # Development npm run build # Production build npm start # Production start
/add-server <region>- Create VPN server/add-client <region>- Add VPN client/start-server <region>- Start server/stop-server <region>- Stop server/delete-server <region>- Delete server/list-server- List all servers/stop-all- Stop all servers/ping- Bot health check