mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Remove remote network from wizard, it is not used for a Remote Access VPN.
This commit is contained in:
parent
b008c1eb73
commit
5f2e5c8e30
@ -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']))
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user