Ticket #7196: firewall-redirect-track.patch

File firewall-redirect-track.patch, 441 bytes (added by Quentin Armitage <quentin@…>, 8 years ago)

Patch to make firewall redirect option work for all zones

  • trunk/package/firewall/files/uci_firewall.sh

     
    391392                        ${src_mac:+-m mac --mac-source $src_mac} \ 
    392393                        -j ACCEPT 
    393394        } 
     395 
     396        append CONNTRACK_ZONES "$src" 
    394397        [ "$proto" == "tcpudp" -o -z "$proto" ] && { 
    395398                proto=tcp 
    396399                add_rule