Tip #1: Take a backup of your iptables configuration before you start working on it.
Back up your configuration with the command:
/sbin/iptables-save > /root/iptables-works Tip #2: Even better, include a timestamp in the filename.
Add the timestamp with the command:
/sbin/iptables-save > /root/iptables-works-`date +%F`
You get a file with a name like:
/root/iptables-works-2018-09-11
If […]
Recent Comments