diff --git a/config/config.go b/config/config.go index 3957508..4461380 100644 --- a/config/config.go +++ b/config/config.go @@ -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