Development

This commit is contained in:
Matthew Grotke 2026-05-31 00:22:39 -04:00
parent fcdaf09477
commit f152d82386
11 changed files with 219 additions and 66 deletions

View file

@ -96,7 +96,7 @@
{
"col": "name",
"input_type": "text",
"validate": "dashname"
"validate": "VALIDATION_DASH_NAME"
},
{
"col": "split_tunnel",
@ -141,7 +141,7 @@
"label": "Name",
"name": "peer_name",
"input_type": "text",
"validate": "dashname",
"validate": "VALIDATION_DASH_NAME",
"placeholder": "e.g. laptop",
"hint": "Friendly name for this peer."
},
@ -157,7 +157,7 @@
"label": "Assigned IP",
"name": "peer_ip",
"input_type": "text",
"validate": "ipv4",
"validate": "VALIDATION_IPV4_FORMAT",
"placeholder": "e.g. 192.168.40.2",
"hint": "Static IP assigned to this peer within the VPN subnet."
},
@ -219,7 +219,7 @@
"label": "Server Endpoint",
"name": "vpn_server_endpoint",
"input_type": "text",
"validate": "endpoint",
"validate": "VALIDATION_ENDPOINT",
"value": "%VPN_SERVER_ENDPOINT%",
"placeholder": "e.g. vpn.example.com",
"hint": "Publicly reachable hostname or IP of this server, embedded in client config files."
@ -229,7 +229,7 @@
"label": "Domain",
"name": "vpn_domain",
"input_type": "text",
"validate": "dashname",
"validate": "VALIDATION_DASH_NAME",
"value": "%VPN_DOMAIN%",
"placeholder": "e.g. local",
"hint": "DNS search domain pushed to VPN clients."
@ -239,7 +239,7 @@
"label": "DNS Override",
"name": "vpn_dns_server",
"input_type": "text",
"validate": "ipv4",
"validate": "VALIDATION_IPV4_FORMAT",
"value": "%VPN_DNS_SERVER%",
"placeholder": "Leave blank to use gateway IP (%VPN_GATEWAY%)",
"hint": "Explicit DNS server pushed to peers. Defaults to the gateway IP."