mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-07-26 20:00:27 +03:00
add: default allowed-ips for new clients creations
This commit is contained in:
parent
026bca5078
commit
c9a7bdf018
5 changed files with 7 additions and 2 deletions
|
@ -175,7 +175,7 @@
|
|||
</i>
|
||||
</label>
|
||||
<input type="text" data-role="tagsinput" class="form-control" id="client_allowed_ips"
|
||||
value="0.0.0.0/0">
|
||||
value="{{if .baseData.AllowedIPs}} {{.baseData.AllowedIPs}} {{else}} 0.0.0.0/0 {{end}}">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="client_extra_allowed_ips" class="control-label">Extra Allowed IPs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue