mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-07-01 16:35:37 +03:00
Added client default settings page
Added client default settings page, where you can set Allowed IPs, Extra Allowed IPs, use server dns, enable after creation.
This commit is contained in:
parent
fdb36e4711
commit
5fff577c60
9 changed files with 293 additions and 7 deletions
|
@ -2,8 +2,8 @@ package model
|
|||
|
||||
// ClientDefaults Defaults for creation of new clients used in the templates
|
||||
type ClientDefaults struct {
|
||||
AllowedIps []string
|
||||
ExtraAllowedIps []string
|
||||
UseServerDNS bool
|
||||
EnableAfterCreation bool
|
||||
AllowedIps []string `json:"allowed_ips"`
|
||||
ExtraAllowedIps []string `json:"extra_allowed_ips"`
|
||||
UseServerDNS bool `json:"use_server_dns"`
|
||||
EnableAfterCreation bool `json:"enable_after_creation"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue