diff options
author | jim-p <jimp@pfsense.org> | 2015-12-01 09:48:08 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-12-01 09:57:12 -0500 |
commit | 71eedb411efba350abc31dde4b6ecec3e3fa121a (patch) | |
tree | 1533319df75ce46ac4ac708cef44fbb2c49d21dc /src/usr/local/www | |
parent | 88cfb255ff4024bc61e3a44f8453207b87dd8f5f (diff) | |
download | pfsense-71eedb411efba350abc31dde4b6ecec3e3fa121a.zip pfsense-71eedb411efba350abc31dde4b6ecec3e3fa121a.tar.gz |
Add topology setting to the OpenVPN wizard. Issue #5526
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> |