天天看點

[轉] IPTables for KVM Host

January 26, 2012

By Andrew Galdes

Use the following IPTables rules “/etc/sysconfig/iptables” on a Redhat/CentOS system where this system is a KVM host with KVM guests running. It’s a test script which is known to work. KVM guests often have networking troubles through the fault of the host.

First backup your IPTables firewall:

Now apply the following to your “/etc/sysconfig/iptables” file:

Don’t forget to restart the IPTables firewall:

- See more at: http://agix.com.au/blog/?p=2743#sthash.k8tvF4bp.dpuf