diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2006-12-14 21:35:48 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2006-12-14 21:35:48 +0000 |
commit | a32edd353a731f43fdf947549d98d9153daebdc8 (patch) | |
tree | 4e15933e8d9894fc68b4d4805e3e4c7759bce190 /etc/inc/filter.inc | |
parent | 7621264874c3c5fe946e75b038480f37c8ec1ceb (diff) | |
download | pfsense-a32edd353a731f43fdf947549d98d9153daebdc8.zip pfsense-a32edd353a731f43fdf947549d98d9153daebdc8.tar.gz |
Create valid pf Syntax!
Diffstat (limited to 'etc/inc/filter.inc')
-rw-r--r-- | etc/inc/filter.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 69b11cc..a2f8b24 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -1821,7 +1821,7 @@ function filter_rules_generate() { $cp_interface_real = convert_friendly_interface_to_real_interface_name($cp_interface); $cp_interface_ip = find_interface_ip($cp_interface_real); if($cp_interface_ip and $cp_interface_real) - $ipfrules .= "pass in quick on {$cp_interface_real} from any to {$cp_interface_ip} port { 8000-8001 } keep state\n"; + $ipfrules .= "pass in quick on {$cp_interface_real} proto tcp from any to {$cp_interface_ip} port { 8000 8001 } keep state\n"; } /* ftp-sesame */ |