Results 1 to 4 of 4

Thread: VMware Player (Ubuntu 12.04 Host + Windows 7 Guest) How to Port Forward to Guest

  1. #1
    Join Date
    Jul 2007
    Beans
    157
    Distro
    Ubuntu 13.04 Raring Ringtail

    Post VMware Player (Ubuntu 12.04 Host + Windows 7 Guest) How to Port Forward to Guest

    Hey everyone,

    I seem to be having some issues in find out how to do this. I've searched for port forwarding on here and on Google, but most seem to be using VMware Workstation.

    I am using Vmware Player.
    Host is Ubuntu 12.04 w/ xubuntu-desktop.
    Guest is Windows 7 Professional.
    I have ufw/gufw installed.

    I want to forward ports from IP 192.168.49.0/24 3389 + 5404 to 192.168.108.0/24 3389. This is to make it to where when I RDP to my IP 192.168.49.x:3389 on my Ubuntu host, that ufw actually redirects this to 192.168.108.x:3389 which is my virtual machine. Both are DHCP, so that is why I am wanting the ranges instead of the individual addresses.

    How can I accomplish this?

    When I loaded gufw, unlock, Edit > Add Rule > Advanced, enter:
    0 Allow In Log All TCP
    from: 192.168.49.0/24:3389
    to: 192.168.108.0/24:3389

    The Add button is still grayed out and I am not able to add this in.

    So I am sure I am not using this correctly, or in the right format.

    I am also working on figuring out how to do this via ufw instead of gufw, but not much luck.

    Any help would be appreciated.

    Thank you,
    Johnathan
    Last edited by johnathanamber; August 10th, 2012 at 11:26 PM.

  2. #2
    Join Date
    Jul 2007
    Beans
    157
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: VMware Player (Ubuntu 12.04 Host + Windows 7 Guest) How to Port Forward to Guest

    Will this do the same thing as actually forwarding or will thus just allow it:
    Code:
    sudo ufw allow proto tcp from 192.168.49.0/24 port 3389 to 192.168.108.0/24 port 3389

  3. #3
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,505
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: VMware Player (Ubuntu 12.04 Host + Windows 7 Guest) How to Port Forward to Guest

    Quote Originally Posted by johnathanamber View Post
    Hey everyone,

    I seem to be having some issues in find out how to do this. I've searched for port forwarding on here and on Google, but most seem to be using VMware Workstation.

    I am using Vmware Player.
    Host is Ubuntu 12.04 w/ xubuntu-desktop.
    Guest is Windows 7 Professional.
    I have ufw/gufw installed.

    I want to forward ports from IP 192.168.49.0/24 3389 + 5404 to 192.168.108.0/24 3389. This is to make it to where when I RDP to my IP 192.168.49.x:3389 on my Ubuntu host, that ufw actually redirects this to 192.168.108.x:3389 which is my virtual machine.
    .........
    You can simply change the VM to use Bridge networking instead of NAT and there won't be any issues like this.
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  4. #4
    Join Date
    Jul 2007
    Beans
    157
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: VMware Player (Ubuntu 12.04 Host + Windows 7 Guest) How to Port Forward to Guest

    @dcstar,

    I would agree however, for some reason, I have issues with some of our company websites when using Bridge. So I need to see how I cam forward IP and Port requests from the host to the VM.

    Thank you,
    Johnathan

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •