1,使用guestfish修改iptables中的内容
Install guestfish
#yum install libguestfs-tools
Guestfish –rw –a rehel65.img
<fs>:run
<fs>:list-filesystems
<fs>mount /dev/sda1 /
<fs>vi /etc/sysconfig/iptables