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

posted @ 2018-02-07 13:23  一只宅男的自我修养  阅读(295)  评论(0编辑  收藏  举报