If you want to copy iptables rules from one to another 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]
|