Any way to Port Forward from Host to Guest?

Discussion in 'Parallels Desktop for Mac' started by neosublime, Jan 3, 2007.

  1. neosublime

    neosublime Member

    Messages:
    62
    Just curious, is there any way to port forwared from Host to guest? I use UVNC for remote support, I have to open up port 5500 on my router, and forward it to my "Bridged" virtual machine. I always use shared networking unless I am using UVNC.

    I know that the windows versions of VMware allow NAT port forwarding, and I was just curious if there is a way, or plans to add a feature like this?

    Thank you.
     
  2. itsdapead

    itsdapead Hunter

    Messages:
    177
    Haven't tried this, but if you used host-only networking for the guest, you ought to be able to use the Mac's internet connection sharing facility to share the Mac's internet connection with the Parallels host-guest interface), enable the Mac firewall, then issue an "ipfw" command to set up the port forwarding on the Mac side (or use something like "Flying Buttress" (formerly BrickWall) for a GUI interface to ipfw).

    The other thing I was going to try sometime was, now that Parallels supports multiple NICs per guest, set up a small guest with two NICs (one bridged, one host-only) running something like IPCOP to act as a firewall/router for any other (host-only) guests.

    However, provided you trust the firewall on your router, why not used bridged networking all the time? (or is it really just curiosity).
     
  3. neosublime

    neosublime Member

    Messages:
    62
    Here is why I don't use bridged all of the time:

    1: I am using a MacBook Pro, so I am always moving from network to network when I am away from my desk, and I need my VM to always be on the same IP. If I never had to leave my desk, I would always use bridged. I am very confident in my router security.

    2: One of the programs I use is an old Win95 program that does not recocnize \\.psf mapped drives, but works fine with samba, (Windows shares)

    3: When using UVNC, (http://www.uvnc.com/), I have my router set to port forward port 5500 to the VM. But I have to switch from shared to bridged when I get back to my desk. I use UVNC to preform remote support for clients.


    I completely forgot about host-networking, which I used to use before shared. I might try your advice to see if I could route traffic to my VM.

    Thank you.
     

Share This Page