I am trying to write two persistent NAT rules, which I save via
iptables-save > /etc/iptables.ipv4.nat, and restore upon reboot via
pre-up iptables-restore < /etc/iptables.ipv4.nat in my
/etc/network/interfaces. Prior to reboot, the rules display when
iptables -t nat -L is used, but after reboot the rules seem to return to their default. Curiously, when I inspect the file to which I saved the rules, they are still present.
So what's happening, and how do I fix it (if it requires fixing at all)?