VMware Cloud Community
SteveDavidson
Contributor
Contributor

how to map network drive across firewall?

I have a new x3550 M2 server that I am setting up and faced with a dilemna. I am required to use something like IPCOP in order to create a private network where I can use 192.168.0.x ip addresses. I am required to do this because my network guy can only give me a few ip addresses and I will be using these for the ports on the physical machine. I am setting up two virtual machines, in addition to the IPCOP virtual machine. One is an application server (192.168.0.1, for example), and the other is a database server (192.168.0.2, for example). I will be directing http traffic to the application server via port forwarding.

I am setting up a two tiers of a three tier development environment behind the ipcop firewall. The client tier is a laptop with eclipse IDE. If I were to set up the application server tier and the database tier on physical boxes on the same network as my client machine, then to deploy code automagically via the eclipse IDE, I would simply map a network drive onto my client machine from the application server machine and define a server within eclipse that points to a subdirectoy on the application server where I want to deploy my code. Piece of cake.

But how to do the same when I have my mid tier machine behind a firewall? How to map a drive from a virtual machine on a private network to my client eclipse machine?

0 Kudos
3 Replies
RvdNieuwendijk
Leadership
Leadership

If you are talking about Microsoft Windows you need to open the TCP and UDP ports 135, 136, 137, 138, 139 and 445 in the firewall between the two networks to be able to connect a share behind the firewall. Look at Microsoft KB article 298804 for more information.

Robert

Blog: https://rvdnieuwendijk.com/ | Twitter: @rvdnieuwendijk | Author of: https://www.packtpub.com/virtualization-and-cloud/learning-powercli-second-edition
SteveDavidson
Contributor
Contributor

Thanks for that answer. I am also seeing through what I have read so far that I could bypass this approach and just set up VPN. With VPN enabled, I could then map drives as I would normally. I believe I will take that approach, which would allow me to do both direct http requests and map network drives. At least that is where my thinking is heading right now.

0 Kudos
RvdNieuwendijk
Leadership
Leadership

If you use a VPN you still have to change settings in the firewall. See VPN servers and firewall configuration for more information.

Robert

Blog: https://rvdnieuwendijk.com/ | Twitter: @rvdnieuwendijk | Author of: https://www.packtpub.com/virtualization-and-cloud/learning-powercli-second-edition
0 Kudos