Score:1

Couldn't load target `NOTRACK':No such file or directory

br flag

I am trying to add a IP table rule.

iptables -t raw -A PREROUTING -j NOTRACK

But when I am executing this I am getting below error:

iptables v1.8.4 (legacy): Couldn't load target `NOTRACK':No such file or directory

Score:1
cl flag
A.B

This target is deprecated and has been superseded by the CT target. So I'm not surprised to see a system where support for this target was not built (in kernel) anymore.

NOTRACK

This extension disables connection tracking for all packets matching that rule. It is equivalent with -j CT --notrack. Like CT, NOTRACK can only be used in the raw table.

You can replace the rule with:

iptables -t raw -A PREROUTING -j CT --notrack

If then this also doesn't work, you'd have to check exactly what support for iptables targets exist (eg: in /boot/config-*) or if there are additional restrictions on the host system.

Relevant kernel options:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.