Monday, November 16, 2015

Port forwarding behind NAT on VirtualBox

If you want to telnet your guest VM machine from host, you should try with:

telnet [HOST_PORT]

The "catch" is to use and not guest's IP (i.e.

If everything is working properly, VirtualBox port forwarding will forward you to appropriate guest's port.

Example of setting port forwarding:

Also, it's sometimes a good idea (at least in testing phase) to leave both Host IP and Guest IP blank. That way, no IP filtering will be done on any end.

No comments:

Post a Comment

Ubuntu 12.04, 14.04, 16.04 - auto start an app or script before login

To run a command or application at startup, even before the user has logged in, you can use this file: /etc/rc.local The commands entered...