Networking, iptables mangle, how to make persistent
Need to make iptables mangle persistent after reboot, Is there any way? See example bellow:
iptables -t mangle -A PREROUTING -p tcp ! --syn -m conntrack --ctstate NEW -j DROP
Tried to save this rule but mangle table still get reset. How this can be tested? See more here see chapter 3
Some rules are server specific but some rules from the article above ca be useful on a linux client. So how this mangle table can be persistent? Haven't found any reliable guide.