Script to inject needed DNAT rules to connect to labsdb
After rebooting wikimetrics-dev1, the instance could not connect to the databases.
The reason was missing DNATs in firewall configuration.
I could not find this requirement documented, nor puppetized.
Is it documented somewhere?
If not ... let's puppetize DNAT rules (if they are not yet).
(Since I needed something right away, I wrote setup_dnat_rules.sh (see attachment), which contains the (somewhat redundant) DNAT rules from staging.
Maybe it helps someone else in the future)