feat: add support for AmneziaWG (#649)

This commit is contained in:
Christoph
2026-12-03 13:51:08 +01:00
parent 5dda7443b7
commit 4f83321ec0
38 changed files with 2136 additions and 22 deletions
@@ -2033,6 +2033,12 @@
}
},
"definitions": {
"domain.AmneziaWGOptions": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"model.AuditEntry": {
"type": "object",
"properties": {
@@ -2150,6 +2156,9 @@
"type": "string"
}
},
"AmneziaWG": {
"$ref": "#/definitions/domain.AmneziaWGOptions"
},
"Backend": {
"description": "the backend used for this interface e.g., local, mikrotik, ...",
"type": "string",
@@ -1,5 +1,9 @@
basePath: /api/v0
definitions:
domain.AmneziaWGOptions:
additionalProperties:
type: string
type: object
model.AuditEntry:
properties:
ContextUser:
@@ -76,6 +80,8 @@ definitions:
items:
type: string
type: array
AmneziaWG:
$ref: '#/definitions/domain.AmneziaWGOptions'
Backend:
description: the backend used for this interface e.g., local, mikrotik, ...
example: local
@@ -1601,6 +1601,13 @@
"10.11.12.1/24"
]
},
"AmneziaWG": {
"description": "AmneziaWG contains per-interface obfuscation options for the amneziawg backend.\nOmitted options preserve the current kernel settings. Values use awg configuration syntax.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"Backend": {
"description": "Backend is the configured backend ID used to manage this interface. Omit it on create to use the local backend, or on update to preserve the current backend.",
"type": "string",
@@ -52,6 +52,13 @@ definitions:
items:
type: string
type: array
AmneziaWG:
additionalProperties:
type: string
description: |-
AmneziaWG contains per-interface obfuscation options for the amneziawg backend.
Omitted options preserve the current kernel settings. Values use awg configuration syntax.
type: object
Backend:
description: Backend is the configured backend ID used to manage this interface.
Omit it on create to use the local backend, or on update to preserve the