feat: add support for AmneziaWG (#649)

This commit is contained in:
Christoph
2026-11-10 23:20:12 +01:00
parent 61c8ceaab8
commit e314fd5e80
38 changed files with 2136 additions and 22 deletions
+9 -4
View File
@@ -3,10 +3,11 @@ package domain
// ControllerType defines the type of controller used to manage interfaces.
const (
ControllerTypeMikrotik = "mikrotik"
ControllerTypeLocal = "wgctrl"
ControllerTypePfsense = "pfsense"
ControllerTypeOpnsense = "opnsense"
ControllerTypeMikrotik = "mikrotik"
ControllerTypeLocal = "wgctrl"
ControllerTypeAmneziaWG = "amneziawg"
ControllerTypePfsense = "pfsense"
ControllerTypeOpnsense = "opnsense"
)
// Controller extras can be used to store additional information available for specific controllers only.
@@ -17,6 +18,10 @@ type MikrotikInterfaceExtras struct {
Disabled bool
}
type AmneziaWGInterfaceExtras struct {
Options AmneziaWGOptions
}
type MikrotikPeerExtras struct {
Id string // internal mikrotik ID
Name string