Ticket #16695 (new defect)

Opened 3 years ago

Last modified 3 years ago

VBoxNetNAT refuses connections for port-forwarding after one day or two

Reported by: Sunfucius Owned by:
Component: network/NAT Version: VirtualBox 5.1.20
Keywords: Cc:
Guest type: all Host type: Linux


I started using NAT network since several months ago. My setup is quite simple: Linux host (CentOS 7.3) running two Windows 7 guests. All guests use NAT network with static IPs. Port-forwarding is configured on the NAT network.

NAT network:
Guest 1 IP:
Guest 2 IP:
Forward 1: <host_ip>:5911 <-->
Forward 2: <host_ip>:5912 <-->

Everything work great, until, after some time, maybe one day or two, connections to host port 2211/2212 got rejected. One solution I find is to restart guest OS, sometime more than once, until the port-forward is normal again.

During the whole process (good --> bad --> restart --> good again), I can see that port 2211/2212 are always bound by process /usr/lib/virtualbox/VBoxNetNAT, and its pid never changed.

When connections are rejected on port 5911 and 5912, guests can connect to each other's 5900 port, which rules out guests failures.

Another observation is, sometimes the restart of one guest OS can solve problems for all guests.

Change History

comment:1 Changed 3 years ago by vushakov

When it gets into that state, can you make outbound connections from guests to the outside world?

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use