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
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