Just so I would remember, I just installed a debian vm and came across a problem I’ve never seen before.

# iptables-save > iptables.rules Unable to open /proc/net/ip_tables_names: No such file or directory.

It seems that the module needs to be loaded before you can use iptables-save.

To fix this, run the command “modprobe ip_tables” and everything should work fine.

Mario Loria is a builder of diverse infrastructure with modern workloads on both bare-metal and cloud platforms. He's traversed roles in system administration, network engineering, and DevOps. You can learn more about him here.