Hi,
Does anyone know how to use NFTables class to create rules? Is there any documentation available? Examples? Anything?
I trying to use pyroute2 to manage nftables rules. I need to create rules based on network interfaces, ports, protocols, etc. The problem is that I cannot find any documentation on how to use the the class NFTables. The only source information I could find is a comment in the source code that demonstrate how to create a rule based on the source address: