mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-18 23:12:59 +02:00
firewall: Don't filter output INVALID packets
This should never cause any problems, but will cause that certain more complicated featured like SYNPROXY won't work. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -156,7 +156,6 @@ iptables_init() {
|
||||
|
||||
iptables -N CTOUTPUT
|
||||
iptables -A CTOUTPUT -m conntrack --ctstate ESTABLISHED -j ACCEPT
|
||||
iptables -A CTOUTPUT -m conntrack --ctstate INVALID -j CTINVALID
|
||||
iptables -A CTOUTPUT -p icmp -m conntrack --ctstate RELATED -j ACCEPT
|
||||
|
||||
# Restore any connection marks
|
||||
|
||||
Reference in New Issue
Block a user