Created
September 15, 2016 13:17
-
-
Save waleedsamy/6261e417bd84e8b3298da9ef8b340284 to your computer and use it in GitHub Desktop.
save iptable to file with name like iptables-20160915151528
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iptables-save > /root/iptables-$(date +"%Y%m%d%H%M%S") | |
# iptables-restore < /root/iptables-20160915151528 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment