linux虚机nat网络共享,linux kvm 虚拟机 nat 网络 iptables 宿主机端口转发到虚拟机...
创建虚拟机配置为nat网络按普通端口转发添加规则$sudoiptables-tnat-APREROUTING-ptcp--dport2222-jDNAT--to-destination192.168.122.203:22$sudoiptables-tnat-APOSTROUTING-ptcp--dport22-d192.168.122.203-jSNAT--to192.168.122.1删掉ipt