V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Kaylar
V2EX  ›  问与答

请问如何在 host 用 iptables 或者 firewalld 限制 vmware guest 的流量?

  •  
  •   Kaylar · Jul 23, 2021 · 609 views
    This topic created in 1740 days ago, the information mentioned may be changed or developed.

    vmware 是用的 NAT 模式,对应的网卡也就是 vmnet8,网关为 192.168.108.2,host 的 ip 为 192.168.108.1,guest 为 192.168.108.3

    vmware 另一张网卡是 vmnet1 对应的 host 的 ip 为 192.168.101.1

    host 联网的网卡为 eth0,ip 为 192.168.0.2

    想在 host 限制 NAT guest 的网络,在 vmware 的 Virtual Network Editor 没有找到可以足够达到这个需求的设置

    求指点,最好能给讲解一下,资料好少额...

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1022 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 22:03 · PVG 06:03 · LAX 15:03 · JFK 18:03
    ♥ Do have faith in what you're doing.