Web Proxy - Redirect outbound traffic to alternate IP

Answered Web Proxy - Redirect outbound traffic to alternate IP

  • Wednesday, November 14, 2012 6:31 PM
     
     

    Hi, I need to know if it is possible to have forefront TMG redirect outbound web traffic to a an alternate IP for a specific host name. Our client sent us software to test with a hostname, but wants it to hit their test servers at a different IP address. They thought just editing the host file would work, but forefront is still doing a DNS query when we run the software.

    I saw the ISA toolkit from Redline, and it appears to add advanced routing which would do exactly what we need, but it doesn't run on 2008R2/TMG 2010. Is there any other way to set this up? Or any software comparable to the ISA toolkit that is compatible with TMG? Thanks.

All Replies

  • Thursday, November 15, 2012 8:30 AM
     
     Answered

    Hi,

    You could try to edit the host file on TMG server. As TMG server has DNS cache, you should run ipconfig /flushdns, and restart firewall service to make it take effect.

    Regards,

    James


  • Thursday, November 15, 2012 5:56 PM
     
     
    If you still can't solve the problem with the 'hosts' file, then you could write an IsaScript script that used the OnRouting callback to rewrite pszHost to a different IP address.
  • Monday, December 03, 2012 6:06 PM
     
     
    Sorry for the delayed response. Editing the host file on both members of the standalone array did indeed work as stated. When I made the change, we had not queried the DNS server recently, so no firewall restart was neccessary. Thanks for the help JamesYi.