VPN users are unable to browse the Internet when connected to TMG and the web browser is configured to “automatically detect settings”

Consider the following scenario: Remote access VPN client users are unable to browse the Internet when connected to TMG and the web browser is configured to “automatically detect settings”. When connected, the WPAD record appears to be resolving to the IP address of the RRAS interface and not the interface of the TMG firewall.

This problem can happen because RRAS interface is higher than the internal interface in the binding order of the OS. One quick fix for that will be to change the binding order to have the internal interface on the top. Another approach is to follow the steps below:

1. Download the CarpNameSystem.js

2. Open command promot in elevated privilege and run the command:

cscript carpnamesystem.js /set: DNS

3. Restart Firewall Sevice and run the command below in the workstation that is connecting remotely:

del \wpad*.dat /s