If you want to copy iptables rules from one linux server to another linux server its really simple
1) Save iptables rules from source server by running
1 |
iptables-save > [filename] |
2) Copy that file to target server and run
1 |
iptables-restore < [filename] |
Comment Policy:
Your words are your own, so be nice and helpful if you can. Please, only use your real name, not your business name or keywords. Using business name or keywords instead of your real name will lead to the comment being deleted. Anonymous commenting is not allowed either. Limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.