Maintaining iptables alongside Nomad

I’m developing a product which is built upon Nomad. Nomad/Docker are heavily integrated with iptables for routing traffic to the correct container and want to know how to advise customers to configure/fix iptables rulesets.

How should an admin restore or modify iptables rules in conjunction with rules inserted by Nomad? How well does Nomad behave in combination with OS tools for managing firewall rules such as ufw and iptables-save/restore?

If an admin accidentally flushed all the rules, can they ask Nomad to restore them somehow? I’ve been unable to find anything in the docs.


1 Like