在云端有一台 centos (有公网 ip,局域网 ip 为 192.168.0.1 )
还有一台 windows 服务器(没有公网 ip,与 centos 同属一局域网,192.168.0.2 )
现在 windows 通过 iptables -t nat -A POSTROUTING -o eth0 -s 192.168.0.0/24 -j SNAT --to 192.168.0.1,实现 windows 访问外网。
现在要配置环境,如何使我的本地客户端访问到这台云端的 windows 呢?
还有一台 windows 服务器(没有公网 ip,与 centos 同属一局域网,192.168.0.2 )
现在 windows 通过 iptables -t nat -A POSTROUTING -o eth0 -s 192.168.0.0/24 -j SNAT --to 192.168.0.1,实现 windows 访问外网。
现在要配置环境,如何使我的本地客户端访问到这台云端的 windows 呢?