mirror of
https://github.com/h44z/wg-portal.git
synced 2026-12-05 19:56:06 +01:00
feat: add support for AmneziaWG (#649)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user