firewall: do not process rules in reverse
SVN-Revision: 18015
This commit is contained in:
parent
f8dfba9a0a
commit
2ecfe91b61
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ fw_rule() {
|
|||
[ -n "$src" -a -n "$dest" ] && ZONE=zone_${src}_forward
|
||||
[ -n "$dest" ] && TARGET=zone_${dest}_$target
|
||||
add_rule() {
|
||||
$IPTABLES -I $ZONE 1 \
|
||||
$IPTABLES -A $ZONE \
|
||||
${proto:+-p $proto} \
|
||||
${icmp_type:+--icmp-type $icmp_type} \
|
||||
${src_ip:+-s $src_ip} \
|
||||
|
|
Loading…
Reference in a new issue