forward statefull

This commit is contained in:
nd 2020-08-02 21:26:17 +02:00
parent 0b2d669ce8
commit a3f13ff8da
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9

View file

@ -30,7 +30,7 @@ table inet filter {
iif lo accept comment "Accept any localhost traffic"
ct state invalid drop comment "Drop invalid connections"
ct state established,related accept comment "Accept traffic originated from us"
ct state established,related accept comment "Accept established (statefull)"
ip6 nexthdr icmpv6 accept comment "Accept ICMPv6"
ip protocol icmp accept comment "Accept ICMP"
@ -45,6 +45,9 @@ table inet filter {
type filter hook forward priority 0;
policy {{ firewall.policies.forward }};
ct state invalid drop comment "Drop invalid connections"
ct state established,related accept comment "Accept established (statefull)"
{{ nftchain('forward') }}
counter comment "Count dropped"