Create SSH Tunnel to access devices behind WiDirect
An SSH tunnel can be created to access network resources local to the WiDirect from a remote location.
Step 1: Launch Putty by double-clicking the Putty icon or opening it through the Start menu.
Step 2: Click "Session." Here you will enter the details of the forwarding server you are connecting to.
Step 3: Enter the address of the WiDirect in the Host Name field.
Step 4: Select "SSH." Click "Connection" in the left pane, then "SSH," then "Tunnels." Here you will enter the information regarding the computer you are ultimately connecting to.
Step 5: Enter the port number you wish to use as the local port into the Source Port field. This is the port that you will connect to using the program you wish to tunnel with, and cannot be in use by any other application. For example, port 8088.
Step 6: Enter the address of the access point followed by a colon and the port number into the Destination text field. For example, 192.168.20.248:80
Step 7: Select "Local," then click "Add."
Step 8: Click "Open" to begin your SSH session. You will be prompted for your username and password.
Step 9: Open your web browser and go to http://localhost:8088 (change port 8088 to the port selected in step 5)