This commit is contained in:
Donald Zou 2025-04-24 17:49:09 +08:00
parent e16f0ed1de
commit 6beddaebfd
2 changed files with 48 additions and 1 deletions

2
.gitignore vendored
View File

@ -5,7 +5,7 @@ src/db
__pycache__
src/test.py
*.db
src/wg-dashboard.ini
#src/wg-dashboard.ini
src/static/pic.xd
*.conf
private_key.txt

47
src/wg-dashboard.ini Normal file
View File

@ -0,0 +1,47 @@
[Account]
username = admin
password = $2b$12$id4fE1yRoKTfBo3MAJoL6.0PaJ3sAvpg6I2YwKAGAULjHWjdtmHzy
enable_totp = false
totp_verified = false
totp_key = F5GAGQJARDSUCKTCPLC7N2UA5UALCPYA
[Server]
wg_conf_path = /etc/wireguard
awg_conf_path = /etc/amnezia/amneziawg
app_prefix =
app_ip = 0.0.0.0
app_port = 10086
auth_req = true
version = v4.2.1
dashboard_refresh_interval = 60000
dashboard_peer_list_display = grid
dashboard_sort = status
dashboard_theme = light
dashboard_api_key = false
dashboard_language = zh-cn
[Peers]
peer_global_dns = 1.1.1.1
peer_endpoint_allowed_ip = 0.0.0.0/0
peer_display_mode = grid
remote_endpoint = 178.128.231.4
peer_mtu = 1420
peer_keep_alive = 21
[Other]
welcome_session = false
[Database]
type = sqlite
[Email]
server =
port =
encryption =
username =
email_password = admin
send_from =
email_template =
[WireGuardConfiguration]
autostart =