harald@xxxxxxxxxxxxxxxxxxxxx <harald@xxxxxxxxxxxxxxxxxxxxx> wrote: [..] > table inet portknock { > set port2 { > type inet_service [..] > set candidates { > type ipv4_addr . inet_service > flags timeout > } [..] > tcp dport 12345 add @candidates {ip saddr . @port2 timeout 10s} What is that supposed to do? @candidate expects ip address + port. > So my question is is this even supposed to work or not? If not then maybe somebody could tell me why and if it is supposed to work why doesn't it? Its not possible to add a set to a set, if thats what you are asking. I suspect you already found https://wiki.nftables.org/wiki-nftables/index.php/Port_knocking_example ?