I have the following setup:
Adapter: NAT
Port forwarding: TCP | host port 2277 | guest port 22
when I traceroute
google.com, I get the following result:
traceroute google.com
traceroute to google.com (216.58.208.206), 64 hops max
1 10.0.2.2 0.359ms 0.203ms 0.201ms
2 * * *
3 * * *
4 * * *
ping google.com
works correctly in NAT.
traceroute
only works fine when an adapter is set to a bridged mode.
P.S. There is a similar thread: virtualbox: no TCP traceroute
In addition, I found this unsolved thread on the VMware forum - I know that it is not a VirtualBox but anyway: https://communities.vmware.com/thread/488594
Should something be configured in NAT or somewhere on the router?
Or is this a VirtualBox NAT limitation?