I am using a cell modem / router that is running a vendor custom distribution of Linux kernel 3.12.70.
I'd like to add custom
iptables rules, but they keep being deleted on reboot.
I've tried https://help.ubuntu.com/community/IptablesHowTo#Saving_iptables solution 2, but that doesn't work.
As a side note, when I run cat on the
ipstables-save I get gibberish, so maybe they are binaries or encryption protected.
However, if I run individual
iptables commands via SSH, they stay and work until reboot.
I'm trying to figure out a way to automate running individual
iptables rules via CLI on reboot.
I've added a
#!/bin/sh -e with the lines I want added, put it in the
init.d directory, made it executable, ran
update-rc.d, and copied it into the
rc5.d directory via