https://github.com/eieste/wgui
A UI Interface for automatic Wireguard Configuration
https://github.com/eieste/wgui
Last synced: 10 months ago
JSON representation
A UI Interface for automatic Wireguard Configuration
- Host: GitHub
- URL: https://github.com/eieste/wgui
- Owner: eieste
- License: agpl-3.0
- Created: 2022-02-12T15:31:33.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T23:18:06.000Z (about 3 years ago)
- Last Synced: 2025-02-01T01:11:52.657Z (over 1 year ago)
- Language: Python
- Size: 176 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# WGUI
A get_config generator for Wireguard
## Configuration
Create a folder eg. `/etc/wgui/` and create Certificats for SAML usage and a configuration file
### Generate SAML Certificats
```
openssl req -x509 -newkey rsa:4096 -keyout saml.key -out saml.crt -sha256 -days 365
```
### wgui.yml
```yaml
get_config:
range: 172.16.246.0/12
client_template: /etc/wgui/client.tpl
peer_template: ./sample/peer.tpl
client_folder: /etc/wireguard/clients
peer_folder: /etc/wireguard/peers
saml_crt: /etc/wgui/saml.crt
saml_key: /etc/wgui/saml.key
idp_meta_url: ""
secret_key: "c346e4fa76925518349d3489a471994d"
clients:
```