Virtualbox network NAT mode 不支持 PPTP
17 Oct 2012Virtualbox network NAT mode 不支持 PPTP,以下是官方的解释
NAT limitations
There are four limitations of NAT mode which users should be aware of:
ICMP protocol limitations:
Some frequently used network debugging tools (e.g. ping
or tracerouting) rely on the ICMP protocol for sending/receiving messages. While ICMP support has been improved with VirtualBox 2.1 (ping
should now work), some other tools may not work reliably.
Receiving of UDP broadcasts is not reliable:
The guest does not reliably receive broadcasts, since, in order to save resources, it only listens for a certain amount of time after the guest has sent UDP data on a particular port. As a consequence, NetBios name resolution based on broadcasts does not always work (but WINS always works). As a workaround, you can use the numeric IP of the desired server in the \\server\share
notation.
Protocols such as GRE are unsupported:
Protocols other than TCP and UDP are not supported. This means some VPN products (e.g. PPTP from Microsoft) cannot be used. There are other VPN products which use simply TCP and UDP.
Forwarding host ports < 1024 impossible:
On Unix-based hosts (e.g. Linux, Solaris, Mac OS X) it is not possible to bind to ports below 1024 from applications that are not run by root
. As a result, if you try to configure such a port forwarding, the VM will refuse to start.
These limitations normally don't affect standard network use. But the presence of NAT has also subtle effects that may interfere with protocols that are normally working. One example is NFS, where the server is often configured to refuse connections from non-privileged ports (i.e. ports not below 1024).