Forward a port from windows to linux

Hi all I have client-server application running on two different machine both having Virtual-box and running Windows as a host and Linux as a guest. For my application I need to access service port 20000 in Linux which is created by my server. So basically my request will be coming to port 139 in windows which should be forwarded to 20000 in Linux. I tried to forwarding it through network setting but was not able succeed. Can someone help me out with this and also let me know how can I achieve this task?

1 Like

Welcome!

I have not with virtual box but with googling find

I would be interested to know what your use case is for forwarding 139/tcp Netbios to 20000/tcp on Linux. When you said you tried "forwarding it through network setting", were you using:

netsh interface portproxy add v4tov4 listenport=139 listenaddress=0.0.0.0 connectport=20000 connectaddress=<ip_of_virtualbox>

or something different?

Cheers,
Keith

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.