kvm iptables 3306端口

# iptables -t nat -A PREROUTING -p TCP --dport 3306 -j DNAT --to-destination 192.168.122.102:3306
# iptables -I FORWARD -m state -d 192.168.122.0/24 --state NEW,RELATED,ESTABLISHED -j ACCEPT

原文地址:https://www.cnblogs.com/guxiaobei/p/8426112.html