VirtualBox

Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#16810 closed defect (worksforme)

Nat Network Port Forwarding not working

Reported by: leep Owned by:
Component: other Version: VirtualBox 5.1.22
Keywords: Cc:
Guest type: other Host type: other

Description

Hi, I have setup multiple port forwarding rules on a custom nat network and only 1 of the rules is working, nat network and port forwarding rules create with below commands

vboxmanage natnetwork remove --netname NatNetwork1 vboxmanage natnetwork add --netname NatNetwork1 --network "172.16.129.0/24" --enable --ipv6 off vboxmanage natnetwork modify --netname NatNetwork1 --port-forward-4 "ora1 ssh:tcp:[]:11011:[172.16.129.11]:22" vboxmanage natnetwork modify --netname NatNetwork1 --port-forward-4 "ora2 ssh:tcp:[]:11012:[172.16.129.12]:22"

ssh to localhost on port 11011 connects to ora1 ssh to localhost on port 11012 fails with "Network error: Connection refused"

Attachments (2)

ora1-2017-06-04-18-33-22.log (86.9 KB ) - added by leep 7 years ago.
ora2-2017-06-04-18-33-22.log (85.6 KB ) - added by leep 7 years ago.

Download all attachments as: .zip

Change History (7)

by leep, 7 years ago

by leep, 7 years ago

comment:1 by Socratis, 7 years ago

May I suggest something? It's usually better and faster, if issues like this one (configuration, question) get first addressed in the VirtualBox forums. More than 95% of the issues are resolved over there, which keeps the developers focusing on the bug fixes and enhancements, and there is no need for another ticket to keep track of. For example, yours is most probably not a bug and someone from the developers has to deal with it and close it as "Invalid".

So, if you can, please open a new thread in the Using VirtualBox section of the forums.

Be sure to say that you came from the bugtracker and include the ticket #.

comment:2 by leep, 7 years ago

Hi,

I have managed to resolve this.

Thanks

comment:3 by Frank Mehnert, 7 years ago

Resolution: worksforme
Status: newclosed

comment:4 by robert spitzenpfeil, 5 years ago

HOW !?!

I'm having issues with 5.2.20 right now.

comment:5 by Socratis, 5 years ago

No need for the wake up by '_madworm_', issue was resolved because the DHCP server IP was the same as the default gateway (a.b.c.1). See https://forums.virtualbox.org/viewtopic.php?f=7&t=90153

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use