summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-07 20:13:23 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-07 20:13:23 +0000
commit179891c3463c8b62e58d5e33af10ca2f45978264 (patch)
treed4394a0a483ce85de446b17e119fb1047e3083d9 /etc
parentd0c5079b0885d7bf6f489741d90e42c76c853ba9 (diff)
downloadpfsense-179891c3463c8b62e58d5e33af10ca2f45978264.zip
pfsense-179891c3463c8b62e58d5e33af10ca2f45978264.tar.gz
Allow outgoing gif tunnels to talk
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 447a3d9..f9ae874 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -2216,7 +2216,9 @@ function create_firewall_outgoing_rules_to_itself() {
/* setup outgoing gif tunnels */
$number_of_gifs = find_last_gif_device();
for($x=0; $x<$number_of_gifs; $x++) {
- $rule .="pass out quick on gif{$x} all keep state label \"let out anything from firewall host itself ipsec gif\"\n";
+ if(does_interface_exist("gif{$x}") == true) {
+ $rule .="pass out quick on gif{$x} all keep state label \"let out anything from firewall host itself ipsec gif\"\n";
+ }
}
return $rule;
OpenPOWER on IntegriCloud