config: vpn def
This commit is contained in:
parent
8a23986672
commit
ba878f31b8
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user