Netgate SG-1000 microFirewall

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - yaska

Pages: [1]
1
I have multiple vlans with different IP addresses 

VLAN_50 = 192.168.50.0
VLAN_60 = 192.168.60.0

How do I add all the IPs to the below section

function FindProxyForURL(url, host)
{
    if (isPlainHostName(host) ||
        shExpMatch(host, "*.local") ||
        isInNet(dnsResolve(host), "192.168.60.0",  "255.255.255.0"))
        return "DIRECT";
 
    return "PROXY 192.168.60.1:3128";
}

Pages: [1]