diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-07 20:13:23 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-07 20:13:23 +0000 |
commit | 179891c3463c8b62e58d5e33af10ca2f45978264 (patch) | |
tree | d4394a0a483ce85de446b17e119fb1047e3083d9 /etc | |
parent | d0c5079b0885d7bf6f489741d90e42c76c853ba9 (diff) | |
download | pfsense-179891c3463c8b62e58d5e33af10ca2f45978264.zip pfsense-179891c3463c8b62e58d5e33af10ca2f45978264.tar.gz |
Allow outgoing gif tunnels to talk
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter.inc | 4 |
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; |