I would convert the rules to iptables commands, test them, and put it at the end of the file "/etc/rc.d/rc.local" (on RedHatish distros) or "/etc/rc.local" (in Debianish ones).
Then they will be executed following a reboot after everything else is being set up, so they will stick.