summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_nat_edit.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-09-15 17:45:00 -0300
committerRenato Botelho <renato@netgate.com>2015-09-15 18:20:59 -0300
commitc9d46a8e801650dccea466f86c81df3fa626713c (patch)
tree725930cf412266bf2cb27ecef4ad8d08ac175489 /src/usr/local/www/firewall_nat_edit.php
parentb8bb09bd4b55047f10e01c7ec91b3d29e1f70016 (diff)
downloadpfsense-c9d46a8e801650dccea466f86c81df3fa626713c.zip
pfsense-c9d46a8e801650dccea466f86c81df3fa626713c.tar.gz
Retire PPTP server, fixes #4226:
- Remove PPTP server and all related code - Bump config version 12.2 - Write upgrade config code to remove pptpd section and also cleanup firewall and NAT rules using PPTP interface or src/des
Diffstat (limited to 'src/usr/local/www/firewall_nat_edit.php')
-rw-r--r--src/usr/local/www/firewall_nat_edit.php12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/usr/local/www/firewall_nat_edit.php b/src/usr/local/www/firewall_nat_edit.php
index 7b63ff6..e2c90f7 100644
--- a/src/usr/local/www/firewall_nat_edit.php
+++ b/src/usr/local/www/firewall_nat_edit.php
@@ -534,9 +534,6 @@ function build_srctype_list() {
$sel = is_specialnet($pconfig['src']);
- if (have_ruleint_access("pptp"))
- $list['pptp'] = 'PPTP clients';
-
if (have_ruleint_access("pppoe"))
$list['pppoe'] = 'PPPoE clients';
@@ -559,9 +556,6 @@ function build_dsttype_list() {
$sel = is_specialnet($pconfig['dst']);
$list = array('any' => 'Any', 'single' => 'Single host or alias', 'network' => 'Network', '(self)' => 'This Firewall (self)');
- if (have_ruleint_access("pptp"))
- $list['pptp'] = 'PPTP clients';
-
if (have_ruleint_access("pppoe"))
$list['pppoe'] = 'PPPoE clients';
@@ -669,10 +663,6 @@ if ($config['l2tp']['mode'] == "server")
if (have_ruleint_access("l2tp"))
$interfaces['l2tp'] = "L2TP VPN";
-if ($config['pptpd']['mode'] == "server")
- if (have_ruleint_access("pptp"))
- $interfaces['pptp'] = "PPTP VPN";
-
if (is_pppoe_server_enabled() && have_ruleint_access("pppoe"))
$interfaces['pppoe'] = "PPPoE Server";
@@ -1265,4 +1255,4 @@ events.push(function(){
//]]>
</script>
-<?php include("foot.inc"); \ No newline at end of file
+<?php include("foot.inc");
OpenPOWER on IntegriCloud