Switch to full style
Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems
Post a reply

How to setting External URL Proxy from wingate

Mar 04 15 12:22 am

Hello.
I use wingate 6.6.2 in transparent mode, and browser clients used ip and port of external proxy. but now our network administrators have made changes and we configure our client browsers with the following url for automatic proxy configuration "http://proxy.maxtr.org:8081/accelerated_pa_bwsa.pac".

Is it possible to configure it in wingate without configuring browsers? How to?

Thanks

Re: How to setting External URL Proxy from wingate

Mar 04 15 10:44 am

Hi

you can intercept connections to the proxy, and then make the connections through the upstream proxy.

So you would

1. configure clients to not use a proxy at all, or just point them to the WinGate proxy
2. in the Connections tab in the WWW proxy in WinGate, specify the proxy you want to use. WinGate can't use the PAC file, but if you download it, you can see the proxy it specifies.

Adrien

Re: How to setting External URL Proxy from wingate

Mar 05 15 11:37 am

I have downloaded pac file and this the content. I don't know what i must use:
function FindProxyForURL(url,host)
{
if
(
(dnsDomainIs(host, "localhost")) ||
(dnsDomainIs(host, "educa.madrid.org")) ||
(dnsDomainIs(host, "educa2.madrid.org")) ||
(dnsDomainIs(host, "aulavirtual3.educa.madrid.org")) ||
(dnsDomainIs(host, "proxyedu.madrid.org")) ||
(isInNet(dnsResolve(host), "127.0.0.0", "255.0.0.0")) ||
(isInNet(dnsResolve(host), "10.224.0.0", "255.248.0.0")) ||
(isInNet(dnsResolve(host), "192.168.0.0", "255.255.0.0"))
)
{
return "DIRECT";
}
else
{
return "PROXY proxyedu.madrid.org:8080";
}
}

Re: How to setting External URL Proxy from wingate

Mar 05 15 12:33 pm

basically that PAC file is a javascript function to choose a proxy. DIRECT means make a direct connection, otherwise use the proxy proxyedu.madrid.org:8080

So in WinGate WWW proxy Connection tab, enter proxyedu.madrid.org on port 8080

if you want to keep using exclusions for those other sites you can do that in WinGate flow-chart policy. Create or edit a policy for the ProxyRequest event, and if Request.Server is in that list of sites, then set Session.UseProxy = false

Regards

Adrien
Post a reply