diff options
author | jim-p <jim@pingle.org> | 2010-05-08 14:34:45 -0400 |
---|---|---|
committer | jim-p <jim@pingle.org> | 2010-05-08 14:34:45 -0400 |
commit | 5f2e5c8e30fcf82181341dce26beda27a49ccff7 (patch) | |
tree | e89c3f34325ba1c2e6c41b092817c9a05edc12da /usr/local | |
parent | b008c1eb73d699305ce690038309f6a2804a092f (diff) | |
download | pfsense-5f2e5c8e30fcf82181341dce26beda27a49ccff7.zip pfsense-5f2e5c8e30fcf82181341dce26beda27a49ccff7.tar.gz |
Remove remote network from wizard, it is not used for a Remote Access VPN.
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/wizards/openvpn_wizard.inc | 5 | ||||
-rw-r--r-- | usr/local/www/wizards/openvpn_wizard.xml | 8 |
2 files changed, 0 insertions, 13 deletions
diff --git a/usr/local/www/wizards/openvpn_wizard.inc b/usr/local/www/wizards/openvpn_wizard.inc index 41189e1..0ccae60 100644 --- a/usr/local/www/wizards/openvpn_wizard.inc +++ b/usr/local/www/wizards/openvpn_wizard.inc @@ -337,9 +337,6 @@ function step10_submitphpaction() { if ($result = openvpn_validate_cidr($_POST['tunnelnet'], 'Tunnel network')) $input_errors[] = $result; - if ($result = openvpn_validate_cidr($_POST['remotenet'], 'Remote network')) - $input_errors[] = $result; - if ($result = openvpn_validate_cidr($_POST['localnet'], 'Local network')) $input_errors[] = $result; @@ -530,8 +527,6 @@ function step12_submitphpaction() { $server['gwredir'] = $pconfig['step10']['rdrgw']; if (isset($pconfig['step10']['localnet'])) $server['local_network'] = $pconfig['step10']['localnet']; - if (isset($pconfig['step10']['remotenet'])) - $server['remote_network'] = $pconfig['step10']['remotenet']; if (isset($pconfig['step10']['concurrentcon'])) $server['maxclients'] = $pconfig['step10']['concurrentcon']; if (isset($pconfig['step10']['compression'])) diff --git a/usr/local/www/wizards/openvpn_wizard.xml b/usr/local/www/wizards/openvpn_wizard.xml index 01d5d57..f790f7b 100644 --- a/usr/local/www/wizards/openvpn_wizard.xml +++ b/usr/local/www/wizards/openvpn_wizard.xml @@ -716,14 +716,6 @@ <description>This is the network that will be accessible from the remote endpoint, expressed as a CIDR range. You may leave this blank if you don't want to add a route to the local network through this tunnel on the remote machine. This is generally set to your LAN network.</description> </field> <field> - <displayname>Remote Network</displayname> - <name>remotenet</name> - <type>input</type> - <size>20</size> - <bindstofield>ovpnserver->step10->remotenet</bindstofield> - <description>This is a network that will be routed through the tunnel, so that a site-to-site VPN can be established without manually changing the routing tables. Expressed as a CIDR range. If this is a site-to-site VPN, enter the remote LAN here. You may leave this blank if you don't want a site-to-site VPN.</description> - </field> - <field> <displayname>Concurrent Connections</displayname> <name>concurrentcon</name> <description>Specify the maximum number of clients allowed to concurrently connect to this server.</description> |