diff options
Diffstat (limited to 'src/usr/local/www')
-rw-r--r-- | src/usr/local/www/wizards/openvpn_wizard.inc | 1 | ||||
-rw-r--r-- | src/usr/local/www/wizards/openvpn_wizard.xml | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/src/usr/local/www/wizards/openvpn_wizard.inc b/src/usr/local/www/wizards/openvpn_wizard.inc index ddd857e..5450bc9 100644 --- a/src/usr/local/www/wizards/openvpn_wizard.inc +++ b/src/usr/local/www/wizards/openvpn_wizard.inc @@ -586,6 +586,7 @@ function step12_submitphpaction() { } $server['dh_length'] = $pconfig['step10']['dhkey']; $server['tunnel_network'] = $pconfig['step10']['tunnelnet']; + $server['topology'] = $pconfig['step10']['topology']; if (isset($pconfig['step10']['rdrgw'])) $server['gwredir'] = $pconfig['step10']['rdrgw']; if (isset($pconfig['step10']['localnet'])) diff --git a/src/usr/local/www/wizards/openvpn_wizard.xml b/src/usr/local/www/wizards/openvpn_wizard.xml index 6aea7fd..3cd07a1 100644 --- a/src/usr/local/www/wizards/openvpn_wizard.xml +++ b/src/usr/local/www/wizards/openvpn_wizard.xml @@ -810,6 +810,24 @@ <bindstofield>ovpnserver->step10->addrpool</bindstofield> </field> <field> + <displayname>Topology</displayname> + <name>topology</name> + <type>select</type> + <value>subnet</value> + <bindstofield>ovpnserver->step10->topology</bindstofield> + <options> + <option> + <name>Subnet -- One IP address per client in a common subnet</name> + <value>subnet</value> + </option> + <option> + <name>net30 -- Isolated /30 network per client</name> + <value>net30</value> + </option> + </options> + <description>Specifies the method used to supply a virtual adapter IP address to clients when using tun mode on IPv4.<br />Some clients may require this be set to "subnet" even for IPv6, such as OpenVPN Connect (iOS/Android).<br />Older versions of OpenVPN (before 2.0.9) or clients such as Yealink phones may require "net30".</description> + </field> + <field> <displayname>DNS Default Domain</displayname> <name>defaultdomain</name> <type>input</type> |