Windows Firewall and Android's internet passthrough connection
So long as I have the Windows Firewall turned off, internet passthrough works perfectly. Running without a firewall is not feasible for me so I'm trying to find out which app or port the passthrough uses. I've created an exception for HTC Sync but this clearly isn't what manages the connection.
Can anyone shed any light on this?
Complete tutorial can be found here
You can try to add and exemption to the port that the PC assigns to the HTC application to connect the the internet.
How to find what port the HTC devices uses on the pc:
- Power off the firewall.
- Connect your HTC device to the internet using your pc.
- Open task manager and look for the HTC application process.
- Write down the PID.
- Open command prompt.
- type in netstat -ano.
- it will give you a list of open ports on your pc.
- Look for the HTC application port by matching the PID.
How to find the PID of the process in Task manager
- Open Task Manager.
- Click on View.
- Click on Select Columns.
- Check mark PID (process Identifier).
- Click OK.
- Should display the PID of the processes.
How to add a exemption to the Windows 7 Firewall.
- Open the Control Panel (All Items View).
- Click on the Windows Firewall icon.
- Click on the Allow a program through Windows Firewall link in the left blue pane
- Click on the Change Settings button NOTE: If the Change Settings button is grayed out, then it has already been clicked on. You can proceed to either step 5, 6, or 7 for what you would like to do.
To Allow or Unallow an Existing Exception
On the left side, check the program exception Name box to allow, or uncheck to unallow through Windows Firewall.
If you allowed the program exception, then check (allow) or uncheck (unallow) the box for each Private or Public network location you want the program to have access through Windows Firewall.
To Add a Program Exception
- Click on the Allow another program button.
- If the Program is Listed - Click on the program to highlight it. Skip the next step
- If the Program is Not Listed - Click on the Browse button. Navigate to the program's exe file location, usually in a C:\Program Files folder, and click on the program's exe file to select (highlight) it and click on the Open button.
- Click on the Add button.
- Do step 5 to allow to unallow this program exception.
This is what makes the outbound connection for HTC:
C:\Program Files (x86)\HTC\Internet Pass-Through\htcnat.exe
or
C:\Program Files\HTC\Internet Pass-Through\htcnat.exe