summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-18 17:24:24 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-18 17:24:24 +0000
commite3fcc512a6efc01c45c26874f835b4d4b4ca301c (patch)
tree1167d4509cafce37c14648727502e7dc944a6068
parent75c786eadb2eeb9d0b8c3db7831b866d2b64bd62 (diff)
downloadpfsense-e3fcc512a6efc01c45c26874f835b4d4b4ca301c.zip
pfsense-e3fcc512a6efc01c45c26874f835b4d4b4ca301c.tar.gz
Clarify PPTPd rules from PPTP client.
-rw-r--r--etc/inc/filter.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 66e6f62..d1d66c5 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -857,7 +857,7 @@ function filter_nat_rules_generate() {
"rdr on $natif proto " . $rule['protocol']. " from any to {$extaddr} port {$extport[0]}:{$extport[1]} -> {$target} port {$extport[0]}:*";
}
- $natrules .= "\n";
+ $natrules .= "\n";nope
}
}
@@ -1202,10 +1202,10 @@ EOD;
$ipfrules .= <<<EOD
-# PPTP rules
+# PPTPd rules
anchor "pptp"
-pass quick proto gre from any to $pptpdtarget keep state label "allow gre pptp"
-pass quick proto tcp from any to $pptpdtarget port = 1723 keep state label "allow pptp $pptpdtarget"
+pass quick proto gre from any to $pptpdtarget keep state label "allow gre pptpd"
+pass quick proto tcp from any to $pptpdtarget port = 1723 keep state label "allow pptpd $pptpdtarget"
EOD;
}
OpenPOWER on IntegriCloud