I saved my iptable settings on a Ubuntu 11.4 system using
Code:
iptables-save >filename
I then replaced the Ubuntu system with CentOS 6.5 and tried to restore iptables using
Code:
iptables-restore <filename
This resulted in
Code:
iptables-restore v1.4.7: Can't set policy 'INPUT' on 'ACCEPT' line 4: Bad bilt-in chain name
Line 4 is as follows.
Code:
:INPUT ACCEPT [199972:10416012]
In the past I have been able to restore iptables fron Ubuntu systems onto Debian systems but Debian is more closely related to Ubuntu than is CentOS. With CentOS, would I just need to add the rules manually?