uspot: add nftables firewall snippet

This enables CONNMARK'ing allowed traffic, and is used by accounting to
selectively delete conntrack entries on client removal.

To be used with the following fw4 config:

config include
	option type 'nftables'
	option path '/usr/share/uspot/firewall.nft'
	option position 'chain-post'
	option chain 'mangle_postrouting'

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
This commit is contained in:
Thibaut VARÈNE
2023-05-24 12:04:31 +02:00
committed by John Crispin
parent 866583625b
commit a6a9ef6c1b

View File

@@ -0,0 +1 @@
mark 0x2 ct mark set 0x2