forked from DGNum/liminix
firewall: don't drop in conntrack rule
as there are other rules following that might want to accept
This commit is contained in:
parent
92b0bec038
commit
a9ea01428e
1 changed files with 1 additions and 2 deletions
|
@ -199,11 +199,10 @@ in {
|
||||||
hook = "input";
|
hook = "input";
|
||||||
rules = [
|
rules = [
|
||||||
"iifname lo accept"
|
"iifname lo accept"
|
||||||
"ct state vmap { established : accept, related : accept, invalid : drop }"
|
|
||||||
"iifname int jump input-ip4-lan"
|
"iifname int jump input-ip4-lan"
|
||||||
"iifname ppp0 jump input-ip4-wan"
|
"iifname ppp0 jump input-ip4-wan"
|
||||||
"oifname \"int\" iifname \"ppp0\" jump incoming-allowed-ip4"
|
"oifname \"int\" iifname \"ppp0\" jump incoming-allowed-ip4"
|
||||||
"log prefix \"denied input-ip4 \""
|
"ct state vmap established,related accept"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue