HELLO
Currently I have the following command executed using sh script nft insert rule inet fw4 mangle_prerouting ip saddr 192.168.1.0/24 meta mark set 10 counter
Now I want to merge it into /etc/nftables.d/test.conf
How do I need to write it?
I tried the following but failed when restarting the firewall:
chain mangle_prerouting {
ip saddr 192.168.1.0/24 meta mark set 10 counter
}