Setting up SSH and Port Forwarding - Windows 7
Windows Firewall Config.
Step 1: Go to Control Panel -> System and Security -> Windows Firewall.
Step 2: Click on `Advanced Settings' on the left sidebar. A new window will appear.
Step 3: Choose `Inbound Rules' from the left sidebar. Choose `New Rule...' from the right sidebar. A new window will appear.
Step 4: In `Rule Type' chose the `Custom' radio button. Choose `Next'.
Step 5: Leave the `All Programs' radio button selected and choose `Next'.
Step 6: Select `TCP' from the Protocol type drop-down. Select `Specific Ports' for both the `Local port' and `Remote port' and enter `22' for both. Choose `Next' to continue.
Step 7: For the remote addresses, click `Add...' and ensure the following IPs are entered:
130.64.1.24
130.64.36.64
130.64.36.73
130.64.37.22
130.64.110.159
130.64.110.161
Step 8: Once those IPs are entered, Choose `Next' until you come to the `Name' panel. Name this connection `SSH' and choose `Finish'.
VMware Port Forwarding
Step 0: If using VMware Workstation, continue to Step 1. However, if using VMware Player, you need to extract the `Virtual Network Editor' from the installer via the following command:
$> VMware-player-setup.exe /e .\extract
Go into `extract' -> `network' and copy `vmnetcfg' into the VMware Player directory before you use this tool. Once `vmnetcfg' is in the VMware Player folder, you can launch this tool to configure the NAT port forwarding.
Step 1: Open the Virtual Network Editor ( either from Workstation or launch `vmnetcfg' )
Step 2: Choose `VMnet8' from the interface list, change the Subnet IP at the bottom of the panel to `192.168.192.0' then and choose `NAT Settings...' from the VMnet Information panel.
Step 3: Ensure that the Gateway IP is set to `192.168.192.2' and then choose `Add' under the Port Forwarding panel.
Step 4: Fill in the port map information with the following data:
Host Port: 22
Type: TCP
Virtual machine IP address: 192.168.192.100
Virtual machine port: 22
Description: SSH
Step 5: Apply all settings and close out of the Virtual Network Editor.

