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:

  1. Power off the firewall.
  2. Connect your HTC device to the internet using your pc.
  3. Open task manager and look for the HTC application process.
  4. Write down the PID.
  5. Open command prompt.
  6. type in netstat -ano.
  7. it will give you a list of open ports on your pc.
  8. Look for the HTC application port by matching the PID.

How to find the PID of the process in Task manager

  1. Open Task Manager.
  2. Click on View.
  3. Click on Select Columns.
  4. Check mark PID (process Identifier).
  5. Click OK.
  6. Should display the PID of the processes.

How to add a exemption to the Windows 7 Firewall.

  1. Open the Control Panel (All Items View).
  2. Click on the Windows Firewall icon.
  3. Click on the Allow a program through Windows Firewall link in the left blue pane
  4. 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.
  5. 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.

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