pyroute2
pyroute2 copied to clipboard
NFTables: Add Sets of type "inet_service"
If you want to use a set of ports to use in rules, you need Sets of (key_)type "inet_service", which are currently filtered out, when creating a Set using NFTables().sets
Reference: https://wiki.nftables.org/wiki-nftables/index.php/Sets#Named_sets_specifications