Remove remote network from wizard, it is not used for a Remote Access VPN.

This commit is contained in:
jim-p 2010-05-08 14:34:45 -04:00
parent b008c1eb73
commit 5f2e5c8e30
2 changed files with 0 additions and 13 deletions

View File

@ -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']))

View File

@ -715,14 +715,6 @@
<bindstofield>ovpnserver->step10->localnet</bindstofield>
<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>