Cascade wingate for one site

Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems

Moderator: Qbik Staff

Cascade wingate for one site

Postby Andrm » May 05 06 10:30 pm

Can I configure WWW proxy connection through cascaded server only for ONE site, but directly to all others?
Andrm
 
Posts: 1
Joined: May 05 06 10:10 pm

Postby genie » May 05 06 11:08 pm

In a way - you can. Try using WPAD file where the proxy for this only site would be another proxy server.
genie
Qbik Staff
 
Posts: 1788
Joined: Sep 30 03 10:29 am

Postby jamesc » May 05 06 11:25 pm

Off the top of my head, this could easily be done in one of two ways.

1. If the program that needs to use a cascading proxy is a separate piece of software to the web browser, then you could create a second proxy server in WinGate, give it a unique name and port number, then point the application to the proxy.

*A new WWW Proxy can be created by right clicking inside the Services tab.


2. Use a WPAD file for proxy detection; when creating Web Proxy Auto Detection files, you should turn off caching of the WPAD on a selected LAN client you will test with; it means you can change the WPAD file in real-time; otherwise you may need to wait 30 mins for your changes to be seen:
http://support.microsoft.com/kb/271361/en-us


*I know there is a better way to do this, but I do not have all my resources currently available. I have added an example WPAD.DAT file below (Which I have not tested), as well as what to put into Internet explorer; there is a lot of information on WPAD via search engines; the WPAD.DAT file needs to be saved too C:\Program Files\WinGate\Resources\:

Code: Select all
function FindProxyForURL(url, host)

{


if (shExpMatch( host,"*update.microsoft.com*"))

return "PROXY x.x.x.x:8080";

else

return "PROXY x.x.x.x:80";

}


Internet explorer --> Tools menu --> Internet Options --> Connections --> LAN Settings --> Use Automatic Configuration Script --> http://x.x.x.x/wingate-internal/resources/wpad.dat
jamesc
Qbik Staff
 
Posts: 928
Joined: Apr 04 05 2:04 pm
Location: Auckland, New Zealand


Return to WinGate

Who is online

Users browsing this forum: No registered users and 8 guests