wireguard_webadmin/README.md

55 lines
2.5 KiB
Markdown
Raw Normal View History

2024-02-14 16:36:01 -03:00
# wireguard_webadmin
2024-02-15 23:08:03 -03:00
wireguard_webadmin is a full-featured yet easy-to-configure web interface for managing WireGuard VPN instances. Designed to simplify the administration of WireGuard networks, it provides a user-friendly interface that supports multiple users with varying access levels, multiple WireGuard instances with individual peer management, and support for crypto key routing for site-to-site interconnections.
## Features
- **Multi-User Support**: Manage access with different permission levels for each user.
- **Multiple WireGuard Instances**: Enables separate management for peers across multiple instances.
- **Crypto Key Routing**: Simplifies the configuration for site-to-site interconnections.
This project aims to offer an intuitive and user-friendly solution for WireGuard VPN management without compromising the power and flexibility WireGuard provides.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Deployment
Follow these steps to deploy wireguard_webadmin:
1. **Clone the repository:**
2024-02-15 23:08:03 -03:00
```
git clone https://github.com/eduardogsilva/wireguard_webadmin
```
2. **Place your SSL certificates for nginx in the `certificates` volume.**
The files should be named `nginx.pem` and `nginx.key`. You can use self-signed certificates and accept the certificate exception in your browser.
3. **Run Docker Compose (choose one):**
2024-02-15 23:08:03 -03:00
### With NGINX (Recommended)
This mode is recommended for running the webadmin. Set up your certificates for nginx; you can use a self-signed certificate. If you don't have a DNS name pointing to your server, use `SERVER_ADDRESS=ip_address`.
```
SERVER_ADDRESS=yourserver.example.com docker-compose up --build -d
```
Access the web interface using `https://yourserver.example.com`.
2024-02-15 23:08:03 -03:00
### Without NGINX (Debug mode and testing only)
This mode does not require SSL certificates and runs Django with `DEBUG=True`. Not recommended for production use without HTTPS.
2024-02-15 23:08:03 -03:00
```
docker-compose -f docker-compose-no-nginx.yml up --build -d
2024-02-15 23:08:03 -03:00
```
Access the web interface using `http://127.0.0.1:8000`.
2024-02-15 23:08:03 -03:00
After completing these steps, your wireguard_webadmin should be up and running. Begin configuration by accessing your server.
2024-02-15 23:08:03 -03:00
## Contributing
Contributions make the open-source community an amazing place to learn, inspire, and create. Your contributions are **greatly appreciated**.
2024-02-15 23:08:03 -03:00
## Support
If you encounter any issues or require assistance, please open an issue on the project's GitHub page.