Cloud-init - iptables integration

I’ve seen some topics /about iptables - cloud-init integration/ that have been already started:

Unfortunately they don’t seem to be a valid solutions anymore. Is there any other way to configure iptables as part of cloud-init?

You can use post_up.

There is an example in the docs.

The link is broken now