summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-24 03:39:35 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-24 03:39:35 +0000
commit6bc2343e26722fe9b441914e5541172b0f8e4348 (patch)
treea4d255e2a8214310025fa3d826eb97d71d87283c /etc
parentf274eb83273568290d0c0dfda93e6930b9669b15 (diff)
downloadpfsense-6bc2343e26722fe9b441914e5541172b0f8e4348.zip
pfsense-6bc2343e26722fe9b441914e5541172b0f8e4348.tar.gz
Outgoing rules do not need reply-to
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc11
1 files changed, 3 insertions, 8 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index a7801ac..e4351aa 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1701,17 +1701,12 @@ function create_firewall_outgoing_rules_to_itself() {
if ($config['interfaces'][$ifname]['ipaddr'] == "pppoe")
$int = "ng0";
$ip = find_interface_ip($int);
- if($return_gateway <> "")
- $replyto = "reply-to ({$int} {$return_gateway})";
- else
- $replyto = "";
if($ip <> "") {
- //$rule .="pass out quick on {$int} {$replyto} all keep state\n";
/* XXX - billm: temp fix for pppoe, needs better fix */
if($config['interfaces'][$ifname]['ipaddr'] != "")
- $rule .="pass out quick on {$int} {$replyto} all keep state label \"let out anything from firewall host itself\"\n";
- else //pass out quick on vr1 all keep state
- $rule .="pass out quick on {$int} {$replyto} all keep state label \"let out anything from firewall host itself\"\n";
+ $rule .="pass out quick on {$int} all keep state label \"let out anything from firewall host itself\"\n";
+ else
+ $rule .="pass out quick on {$int} all keep state label \"let out anything from firewall host itself\"\n";
}
}
OpenPOWER on IntegriCloud