mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-18 14:47:46 +01:00
fix a problem with the firewall script (multicast traffic could produce packet loss)
SVN-Revision: 6726
This commit is contained in:
parent
6f48cd2114
commit
c05a061e4e
@ -100,7 +100,7 @@ start() {
|
|||||||
# uses the default -P DROP
|
# uses the default -P DROP
|
||||||
|
|
||||||
### MASQ
|
### MASQ
|
||||||
iptables -t nat -A PREROUTING -m state --state NEW -j NEW
|
iptables -t nat -A PREROUTING -m state --state NEW -p tcp -j NEW
|
||||||
iptables -t nat -A PREROUTING -j prerouting_rule
|
iptables -t nat -A PREROUTING -j prerouting_rule
|
||||||
[ -z "$WAN" ] || iptables -t nat -A PREROUTING -i "$WAN" -j prerouting_wan
|
[ -z "$WAN" ] || iptables -t nat -A PREROUTING -i "$WAN" -j prerouting_wan
|
||||||
iptables -t nat -A POSTROUTING -j postrouting_rule
|
iptables -t nat -A POSTROUTING -j postrouting_rule
|
||||||
|
Loading…
Reference in New Issue
Block a user