Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
webjin
V2EX  ›  Linux

关于端口映射问题

  •  
  •   webjin · Feb 20, 2016 · 2982 views
    This topic created in 3762 days ago, the information mentioned may be changed or developed.
    我有 1 台物理机 kvm 虚拟化
    配置了 2 个公网 IP 。
    然后我里面开设了 2 台虚拟机。
    假设公网 IP 为 1.1.1.1 和 1.1.1.2
    虚拟机 IP 是 10.0.0.1 和 10.0.0.2
    我能否这样映射
    1.1.1.1:80->10.0.0.1:80
    1.1.1.2:80->10.0.0.2:80
    这个是端口复用了。应该不成功是吗?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3203 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 13:54 · PVG 21:54 · LAX 06:54 · JFK 09:54
    ♥ Do have faith in what you're doing.