Skip to main content
Topic: Networking, iptables mangle, how to make persistent (Read 307 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Networking, iptables mangle, how to make persistent

Need to make iptables mangle persistent after reboot, Is there any way? See example bellow:

Code: [Select]
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.