#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)
Change History (7)
by , 7 years ago
Attachment: | ora1-2017-06-04-18-33-22.log added |
---|
by , 7 years ago
Attachment: | ora2-2017-06-04-18-33-22.log added |
---|
comment:1 by , 7 years ago
comment:3 by , 7 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:5 by , 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
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 #.