diff options
author | Viacheslav <v.gletenko@vyos.io> | 2021-11-02 13:48:36 +0000 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-11-03 19:57:38 +0100 |
commit | 2ed561e249e7f44d1269879bcf55cb83aee2324a (patch) | |
tree | ffae4c3fceea3b9829ae3ba29dede6b2bde879a3 /interface-definitions/include/accel-ppp/ppp-options-ipv4.xml.i | |
parent | c605e211584b502c905d61bb48728889d992072b (diff) | |
download | vyos-1x-2ed561e249e7f44d1269879bcf55cb83aee2324a.tar.gz vyos-1x-2ed561e249e7f44d1269879bcf55cb83aee2324a.zip |
sstp: T2566: Fix to allow IPv6 only pools
To allow IPv6 only for vpn sstp sessions we have to add
'ppp-options' which can disable IPv4 allocation explicity.
Additional IPv6 ppp-options and fix template for it.
(cherry picked from commit dd036c62d1370f655a8d2075577597f24ffff7dc)
Diffstat (limited to 'interface-definitions/include/accel-ppp/ppp-options-ipv4.xml.i')
-rw-r--r-- | interface-definitions/include/accel-ppp/ppp-options-ipv4.xml.i | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/interface-definitions/include/accel-ppp/ppp-options-ipv4.xml.i b/interface-definitions/include/accel-ppp/ppp-options-ipv4.xml.i new file mode 100644 index 000000000..3e065329d --- /dev/null +++ b/interface-definitions/include/accel-ppp/ppp-options-ipv4.xml.i @@ -0,0 +1,23 @@ +<!-- include start from accel-ppp/ppp-options-ipv4.xml.i --> +<leafNode name="ipv4"> + <properties> + <help>IPv4 negotiation algorithm</help> + <constraint> + <regex>^(deny|allow)$</regex> + </constraint> + <constraintErrorMessage>invalid value</constraintErrorMessage> + <valueHelp> + <format>deny</format> + <description>Do not negotiate IPv4</description> + </valueHelp> + <valueHelp> + <format>allow</format> + <description>Negotiate IPv4 only if client requests</description> + </valueHelp> + <completionHelp> + <list>deny allow</list> + </completionHelp> + </properties> + <defaultValue>allow</defaultValue> +</leafNode> +<!-- include end --> |