config: vpn def
This commit is contained in:
parent
8a23986672
commit
ba878f31b8
@ -65,6 +65,7 @@ type Config struct {
|
||||
Storage StorageConfig
|
||||
|
||||
Mounts []MountDef
|
||||
VPNs []VPNDef
|
||||
|
||||
Groups []GroupDef
|
||||
Users []UserDef
|
||||
@ -102,6 +103,12 @@ type MountDef struct {
|
||||
Options string
|
||||
}
|
||||
|
||||
type VPNDef struct {
|
||||
Name string `yaml:"name"`
|
||||
IPs []string
|
||||
Config string
|
||||
}
|
||||
|
||||
type GroupDef struct {
|
||||
Name string
|
||||
Gid int
|
||||
|
Loading…
Reference in New Issue
Block a user