mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-21 20:12:33 +03:00

Added client default settings page, where you can set Allowed IPs, Extra Allowed IPs, use server dns, enable after creation.
9 lines
346 B
Go
9 lines
346 B
Go
package model
|
|
|
|
// ClientDefaults Defaults for creation of new clients used in the templates
|
|
type ClientDefaults struct {
|
|
AllowedIps []string `json:"allowed_ips"`
|
|
ExtraAllowedIps []string `json:"extra_allowed_ips"`
|
|
UseServerDNS bool `json:"use_server_dns"`
|
|
EnableAfterCreation bool `json:"enable_after_creation"`
|
|
}
|