summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_rules_edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-31 23:12:54 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-31 23:12:54 +0000
commit35126a79ad42d48dd5eb59758ba3af84b30ce642 (patch)
treefcf6184e96a26a02b2abae6144d4f9d475302799 /usr/local/www/firewall_rules_edit.php
parent0c554ff6e197d2d1842753a55d193ba3efcf158a (diff)
downloadpfsense-35126a79ad42d48dd5eb59758ba3af84b30ce642.zip
pfsense-35126a79ad42d48dd5eb59758ba3af84b30ce642.tar.gz
Add PPPoE options
Diffstat (limited to 'usr/local/www/firewall_rules_edit.php')
-rwxr-xr-xusr/local/www/firewall_rules_edit.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php
index ef9c444..3093993 100755
--- a/usr/local/www/firewall_rules_edit.php
+++ b/usr/local/www/firewall_rules_edit.php
@@ -32,7 +32,7 @@
require("guiconfig.inc");
-$specialsrcdst = explode(" ", "any lan pptp");
+$specialsrcdst = explode(" ", "any lan pptp pppoe");
if (!is_array($config['filter']['rule'])) {
$config['filter']['rule'] = array();
@@ -457,7 +457,7 @@ Hint: the difference between block and reject is that with reject, a packet (TCP
<td width="22%" valign="top" class="vncellreq">Interface</td>
<td width="78%" class="vtable">
<select name="interface" class="formfld">
- <?php $interfaces = array('wan' => 'WAN', 'lan' => 'LAN', 'pptp' => 'PPTP');
+ <?php $interfaces = array('wan' => 'WAN', 'lan' => 'LAN', 'pptp' => 'PPTP', 'pppoe' => 'PPPOE');
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
$interfaces['opt' . $i] = $config['interfaces']['opt' . $i]['descr'];
}
@@ -541,6 +541,8 @@ Hint: the difference between block and reject is that with reject, a packet (TCP
LAN subnet</option>
<option value="pptp" <?php if ($pconfig['src'] == "pptp") { echo "selected"; } ?>>
PPTP clients</option>
+ <option value="pppoe" <?php if ($pconfig['src'] == "pppoe") { echo "selected"; } ?>>
+ PPPoE clients</option>
<?php for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++): ?>
<option value="opt<?=$i;?>" <?php if ($pconfig['src'] == "opt" . $i) { echo "selected"; } ?>>
<?=htmlspecialchars($config['interfaces']['opt' . $i]['descr']);?> subnet</option>
@@ -650,6 +652,9 @@ Hint: the difference between block and reject is that with reject, a packet (TCP
LAN subnet</option>
<option value="pptp" <?php if ($pconfig['dst'] == "pptp") { echo "selected"; } ?>>
PPTP clients</option>
+ <option value="pppoe" <?php if ($pconfig['dst'] == "pppoe") { echo "selected"; } ?>>
+ PPPoE clients</option>
+
<?php for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++): ?>
<option value="opt<?=$i;?>" <?php if ($pconfig['dst'] == "opt" . $i) { echo "selected"; } ?>>
<?=htmlspecialchars($config['interfaces']['opt' . $i]['descr']);?> subnet</option>
OpenPOWER on IntegriCloud