Getting Started with Admin Panel
Welcome to Axe VPN!
This guide will walk you through the initial setup and configuration of your VPN admin panel. Follow these steps to get your system up and running quickly.
Step 1: Initial Login
After installation, access your admin panel at your domain's admin URL:
https://yourdomain.com/admin
Default Credentials
Use these default credentials for your first login:
- Email: admin@example.com
- Password: password
Remember to change these credentials immediately after login!
Changing Default Credentials
- Navigate to Profile in the top-right menu
- Click Edit Profile
- Update your name, email, and password
- Click Save Changes
Step 2: System Health Check
Before configuring your VPN service, ensure all system components are functioning correctly:
Database Connection
The admin panel should display without database errors. If you see database connection issues:
# Check database configuration
php artisan config:cache
# Run database migrations
php artisan migrate
# Verify database connectivity
php artisan tinker
>>> DB::connection()->getPdo();
File Permissions
Ensure proper file permissions for storage and cache directories:
# Set proper permissions (Linux/macOS)
chmod -R 775 storage
chmod -R 775 bootstrap/cache
# For Windows (run as administrator)
icacls storage /grant Everyone:F /T
icacls bootstrap\cache /grant Everyone:F /T
Step 3: Basic Settings Configuration
Configure essential settings for your VPN service:
General Settings
- Go to Settings → General
- Configure these essential settings:
- App Name: Your VPN service name
- App URL: Your domain URL
- Timezone: Your local timezone
- Currency: For premium features
- App Version: Current mobile app version
- Force Update: Enable/disable force updates
- Maintenance Mode: Service maintenance status
- Debug Mode: Development debugging
Firebase Configuration (Push Notifications)
- Go to Settings → Firebase
- Upload your Firebase service account JSON file
- Test notification functionality
Firebase Setup Tip
Need help with Firebase setup? Check our Push Notifications guide for detailed Firebase configuration steps.
Step 4: Adding Your First Server
Add your first VPN server to start providing service to users:
Manual Server Addition
- Navigate to Servers → Add Server
- Fill in the server details:
Required Server Information:
- Server Name: Descriptive name (e.g., "US East 1")
- Country: Server location country
- City: Server location city
- IP Address: Server public IP
- Port: OpenVPN port (default: 1194)
- Protocol: UDP or TCP
- OVPN File: Upload configuration file
- Status: Enable/disable server
Automated Server Installation
For new servers, use the automated installation feature:
- Go to Servers → Install Server
- Enter server SSH credentials
- Select OpenVPN configuration options
- Click Install and monitor progress
Security Note
Ensure your servers have proper security configurations including firewall rules, SSH key authentication, and regular security updates.
Step 5: Mobile App Integration
Configure the mobile app to connect to your admin panel:
API Endpoints
Your mobile app will connect to these endpoints:
# Server list
GET https://yourdomain.com/api/v1/list
# Server configuration download
GET https://yourdomain.com/api/v1/get?id={server_id}
# Connection logging
POST https://yourdomain.com/api/v1/log-connect
POST https://yourdomain.com/api/v1/log-disconnect
# Settings and configuration
GET https://yourdomain.com/api/v1/get-setting
App Configuration
- Update the mobile app's API base URL to your domain
- Configure Firebase for push notifications
- Test API connectivity from the mobile app
- Verify server list and configuration downloads
Step 6: Testing Your Setup
Verify everything is working correctly:
Dashboard Test
- Dashboard loads without errors
- Server status shows "Active"
- Statistics display real data
- Charts and graphs render
- Admin login successful
- Server added and active
- Mobile app connects
- Push notifications work
API Testing
Test API endpoints manually or using tools like Postman:
# Test server list endpoint
curl -X GET "https://yourdomain.com/api/v1/list"
# Test settings endpoint
curl -X GET "https://yourdomain.com/api/v1/get-setting"
# Test server download
curl -X GET "https://yourdomain.com/api/v1/get?id=1"
Mobile App Connection Test
- Install the mobile app on a test device
- Configure the app with your server URL
- Verify server list loads correctly
- Test VPN connection to your server
- Check that connections appear in admin panel
Setup Complete!
Congratulations! Your Axe VPN admin panel is now configured and ready for use.
Next Steps
Server Management
Learn advanced server configuration and monitoring techniques.
Learn More
Push Notifications
Set up Firebase and configure push notifications for your users.
Learn More
Analytics & Monitoring
Monitor your VPN service performance and user analytics.
Learn More