My system admin gave me a file with iptables rules. What command do I type in to load this?
I heard people can do this in one line?
Something like...iptables > thefile.dat ????
My system admin gave me a file with iptables rules. What command do I type in to load this?
I heard people can do this in one line?
Something like...iptables > thefile.dat ????
You can save your current iptables using iptables-save as in
iptables-save >thefile.dat
and later load it with
cat thefile.dat | iptables-restore