Port fowarding is confusing
Posted: 30. Jun 2014, 17:25
The port forwarding option in network settings is confusing.
Ok, why? Here's why.
Ok, why? Here's why.
- Name - I couldn't care less. What does it matter what a rule is called? But okay, some folks might go all the way.
- Protocol - Fine, understood.
- Host IP - What do I enter here? The IP address of the host? This is already known, and to be fair, it doesn't matter, because there's only one host. So essentially this field could be left out, for the NAT module to figure it out automagically. It'd also make transplanting the VM from one host to another a less painful process.
- Host Port - I guess this is the port you need to forward?... Say I wanna forward port 3389, I enter 3389 here?
- Guest IP - This is really confusing me. Why do I have to fill this out when the guest is on NAT? I have no way of knowing its IP-addres in advance, because NAT means using DHCP. Another thing is that in the Settings for a guest, there's only a single guest, so why exactly do I need to basically re-specify the guest?... Again, this is one that the NAT module can work out by itself.
- Guest Port - I guess this is the port you need to forward?... Say I wanna forward port 3389, I enter 3389 here? How/why is this different from Host Port?...