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
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.