config: vpn def

This commit is contained in:
Mikaël Cluseau 2022-03-31 14:49:29 +02:00
parent 8a23986672
commit ba878f31b8

View File

@ -65,6 +65,7 @@ type Config struct {
Storage StorageConfig Storage StorageConfig
Mounts []MountDef Mounts []MountDef
VPNs []VPNDef
Groups []GroupDef Groups []GroupDef
Users []UserDef Users []UserDef
@ -102,6 +103,12 @@ type MountDef struct {
Options string Options string
} }
type VPNDef struct {
Name string `yaml:"name"`
IPs []string
Config string
}
type GroupDef struct { type GroupDef struct {
Name string Name string
Gid int Gid int