FORUMS
Remove All Ads from XDA
Honor View 10
Win an Honor 7X!

twc app. port forwarding

127 posts
Thanks Meter: 5
 
By lkrfn5283, Senior Member on 12th September 2012, 09:57 AM
Post Reply Email Thread
I copied and posted my original post via the nexus thread. i thought i'd repost it here since i'm guessing some of the other note users may have done this too. Any help would greatly be appreciated. Please note that I got the app to work with my stock rooted rom. Now i'm just trying to get it to work on any wifi network as opposed to just my home wifi network.

Originally Posted by colbyrainey View Post
Sure!

1. Install CopSSH for Windows from here:
http://sourceforge.net/projects/sere...r.zip/download

2. Extract the .exe file from .zip file and run the setup. During the setup, you will be prompted for a username and password, make sure you specify this and make it something you can remember (you will need it later).

3. Activate a user by going to Start->All Programs->CopSSH->1. Activate a User. Select the user you just setup in step 2.

4. Type in and confirm a passphrase (make sure you remember this). Then click activate.

5. Now you need to allow an port exception through your Windows Firewall. Standard SSH port is port 22, so that's what I used. You can do this by going to your control panel, selecting Windows Firewall, and click "allow a program through Windows Firewall."

6. Select Add port...name it SSH and enter port 22.

7. Click change scope...and make sure the radio button that says "Any computer (including those on the Internet) is selected. Click OK.

8. Now we need to setup port-forwarding to your router. To do this you need to know how to access your router, your WAN IP address, and your LAN IP Address assigned by your router.

9. To find out your LAN IP address, open a command prompt and type in "ipconfig -all". Typically, it will begin with 192.168 unless you have modified your LAN settings. To find your WAN IP address settings, google "what is my IP address?" There are a number of sites that can tell you that.

10. To access your router, you need to find it's IP address, which is usually 192.168.1.1 or 192.168.0.1; you will know by entering one of those addresses in your browser and it will prompt you for your login info. If you don't know your user name and password, I can't help you there but Google may be able to (try to look-up the default username and password for your router model).

11. Once logged in, find your "virtual server" or "port forwarding" settings, specify port 22 - 22 for the start and end range, and route it to the LAN IP address you found in step 9. Save your settings and exit your browser.

12. If you've made it this far, your SSH service and port forwarding settings are done; now you just need to log into it. Download SSH Tunnel from the Google Play Store.

13. When you open it up, it will ask you for a number of settings. I have listed them below and what you need to enter in each textbox:
- Host Name: Enter your WAN IP address that you discovered in step 9.
- Port: Enter "22"
- Username: Enter your username you specified in CopSSH
- Password: Enter your password you specified in CopSSH

14. Make sure the following options are checked:
- Use socks proxy
- Global proxy

15. That's it! Now scroll to the top of the app and check the first checkbox labeled "tunnel switch" and it should connect you.

Please keep in mind that you need to be logged into a wifi connection, but it doesn't have to be your home wifi connection!

DON'T forget the thanks button!

Lkrfn5283:Thank you for this post. I'm unsure what i'm doing wrong but i went over the instructions and made sure i did everything correctly, but it keeps saying "error: cannot connect to host" I'm using a tmobile galaxy note with a stock rooted ics rom. This write up should apply to any phone with an ics based rooted rom correct? any help would greatly be appreciated as i'm completely lost on what i did wrong.

*note: on step 11 it shows two areas where you can enter the IP address and start port/end port. One is labeled "internal" and the other is labeled "external". On the internal i input my WAN IP and ports starting and ending in 22. On the external I input the remote address and the local port/remote port as the starting and ending ports given by the sshtunnel app.
 
 
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread