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.

http://docs.rancher.com/os/networking/interfaces/#nic-bonding

The link is broken now

https://rancher.com/docs/os/v1.x/en/installation/networking/interfaces/#nic-bonding