1
Linux服务器和VMware Player运行的虚拟机。在服务器内,Firefox可以访问虚拟机的IP地址。但它从外部世界是不可缓解的(“连接重置”错误)。通过iptables端口转发到VMware机器
iptables的是从动地配置:
[[email protected] ~]# iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
DNAT tcp -- anywhere anywhere tcp dpt:gw to:172.16.75.1:3010
DNAT tcp -- anywhere anywhere tcp dpt:trusted-web to:172.16.75.1:3011
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
任何想法?或者至少有任何方法/工具(除了ping
和traceroute
)用于跟踪数据包,以便更准确地定位问题点?