Ticket #4004: uci_firewall.patch

File uci_firewall.patch, 712 bytes (added by lucaf3rr@…, 8 years ago)
  • package/firewall/files/uci_firewall.sh

     
    315315        $IPTABLES -A FORWARD -j forwarding_rule 
    316316        $IPTABLES -A PREROUTING -t nat -j prerouting_rule 
    317317        $IPTABLES -A POSTROUTING -t nat -j postrouting_rule 
    318         $IPTABLES -A zone_wan -j input_wan 
    319         $IPTABLES -A zone_wan_forward -j forwarding_wan 
    320         $IPTABLES -A zone_wan_prerouting -t nat -j prerouting_wan 
     318        $IPTABLES -I zone_wan -j input_wan 
     319        $IPTABLES -I zone_wan_forward -j forwarding_wan 
     320        $IPTABLES -I zone_wan_prerouting -t nat -j prerouting_wan 
    321321} 
    322322 
    323323fw_init() {