VPN: IPsec: Connections: Pools add IP4_DNS and IP6_DNS Configuration Payloads (#6864)

This commit is contained in:
Monviech 2023-09-20 14:15:17 +02:00 committed by GitHub
parent e25ef6774b
commit d3ea1f5e90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 1 deletions

View File

@ -18,5 +18,14 @@
Accepts a single CIDR subnet defining the pool to allocate addresses from
</help>
</field>
<field>
<id>pool.dns</id>
<label>DNS</label>
<type>select_multiple</type>
<style>tokenize</style>
<allownew>true</allownew>
<help>
DNS servers to push as configuration payload (RFC4306 3.15 - Value 3 and 10). Accepts multiple IPv4/IPv6 addresses.
</help>
</field>
</form>

View File

@ -328,6 +328,13 @@
<NetMaskRequired>Y</NetMaskRequired>
<ValidationMessage>Please specify a valid CIDR subnet.</ValidationMessage>
</addrs>
<dns type="NetworkField">
<FieldSeparator>,</FieldSeparator>
<NetMaskAllowed>N</NetMaskAllowed>
<WildcardEnabled>N</WildcardEnabled>
<AsList>Y</AsList>
<ValidationMessage>'Entry is not a valid IPv4 or IPv6 address.'</ValidationMessage>
</dns>
</Pool>
</Pools>
<VTIs>