Thomas Luening <toml@xxxxxxx> wrote: > I want to insert the following statements in a running rule-set and got an error. > > nft add table raw > nft add chain raw prerouting {type filter hook prerouting priority -300\;} try: /sbin/nft -- add ... or nft add chain raw prerouting "{type filter hook prerouting priority -300;}" '--' tells getopt that no more arguments are present, and second one passes rest of command line to nft as a single argument. (getopt parser thinks -300 is an option)