This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Proxy url exception problem

Hi,

I am trying to get this url working through the proxy:

http://minecraft.dangis.dk:8081/status.png

using this exception:

^https?://([A-Za-z0-9.-]*\.)?dangis\.dk:8081/

But despite whatever exeption-url i am trying i have not been able to get it to work.

When not using the proxy, everything works fine, so i think it has to be the exception url that is wrong. 

I am using the proxy in standard mode with SSL scanning and UTM 9.100-8.

Any help would be appreciated.

Thanks,

Mark


This thread was automatically locked due to age.
Parents
  • Hi all,

    I have managed to solve the problem, by bypassing the proxy :-)

    I extended my original PAC file with the marked text, and that did the trick:


    function FindProxyForURL(url, host) {

    >>>>>>// If the hostname matches, send direct.
    >>>>>>    if (dnsDomainIs(host, "minecraft.dangis.dk")
    >>>>>>        return "DIRECT";
     
    // If the requested website is hosted within the internal network, send direct.
        if (isPlainHostName(host) ||
            shExpMatch(host, "*.local") ||
            isInNet(dnsResolve(host), "192.168.0.0",  "255.255.0.0") ||
            isInNet(dnsResolve(host), "127.0.0.0", "255.255.255.0"))
            return "DIRECT";
           
    // If the machine requesting a website falls within IP range,
    // send traffic via proxy 192.168.100.1 running on port 8080.
          if (isInNet(myIpAddress(), "192.168.100.0", "255.255.255.0"))
              return "PROXY 192.168.100.1:8080";
            
    // If the machine requesting a website falls within IP range,
    // send traffic via proxy 192.168.200.1 running on port 8080.
          if (isInNet(myIpAddress(), "192.168.200.0", "255.255.255.0"))
              return "PROXY 192.168.200.1:8080";

    }


    Regards,

    Mark
Reply
  • Hi all,

    I have managed to solve the problem, by bypassing the proxy :-)

    I extended my original PAC file with the marked text, and that did the trick:


    function FindProxyForURL(url, host) {

    >>>>>>// If the hostname matches, send direct.
    >>>>>>    if (dnsDomainIs(host, "minecraft.dangis.dk")
    >>>>>>        return "DIRECT";
     
    // If the requested website is hosted within the internal network, send direct.
        if (isPlainHostName(host) ||
            shExpMatch(host, "*.local") ||
            isInNet(dnsResolve(host), "192.168.0.0",  "255.255.0.0") ||
            isInNet(dnsResolve(host), "127.0.0.0", "255.255.255.0"))
            return "DIRECT";
           
    // If the machine requesting a website falls within IP range,
    // send traffic via proxy 192.168.100.1 running on port 8080.
          if (isInNet(myIpAddress(), "192.168.100.0", "255.255.255.0"))
              return "PROXY 192.168.100.1:8080";
            
    // If the machine requesting a website falls within IP range,
    // send traffic via proxy 192.168.200.1 running on port 8080.
          if (isInNet(myIpAddress(), "192.168.200.0", "255.255.255.0"))
              return "PROXY 192.168.200.1:8080";

    }


    Regards,

    Mark
Children
No Data