summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-02 21:53:08 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-02 21:53:08 +0000
commit9780006a3f2299c2035c74ae2991c633f3a68991 (patch)
tree26849fb1bb5c23724450ab3f2cc55e5680827dd0 /etc
parent534ceb5f9968fc2c123c84ec8a0c335d86d5cdf0 (diff)
downloadpfsense-9780006a3f2299c2035c74ae2991c633f3a68991.zip
pfsense-9780006a3f2299c2035c74ae2991c633f3a68991.tar.gz
Use proto and get rid of -> *
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index b0b7fca..63b47af 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -868,7 +868,7 @@ function filter_nat_rules_generate() {
if(isset($config['captiveportal']['enable'])) {
$cp_interface = filter_translate_type_to_real_interface($config['captiveportal']['interface']);
$lan_ip = $config['interfaces']['lan']['ipaddr'];
- $natrules .= "no rdr on {$cp_interface} from <captiveportal> to any port { 80 443 } -> {$lan_ip} port 8000\n";
+ $natrules .= "no rdr on {$cp_interface} proto tcp from <captiveportal> to any port { 80 443 }\n";
$natrules .= "rdr on " . $cp_interface . " proto tcp from any to any port { 80 443 } -> {$lan_ip} port 8000\n\n";
}
OpenPOWER on IntegriCloud