Jump to content

Recommended Posts

Posted

Hi,

We need to put a few computers on a different proxy port. We have two proxies, so everyone apart from these few IPs would go through Proxy A and the ones listed in the pac file would be on proxy B ?

 

I was looking at the code:

 

function FindProxyForURL(url, host)
{
if (isInNet(myIpAddress(), "10.10.10.0", "255.255.255.0")
return "PROXY [Proxy Address]:[Port]";
else
return "DIRECT";
}

 

But isnt that ip in that command above an IP Range?

Is there a way to limit just one or several individual IPs to have a different proxt port?

 

Thanks in adavce

Posted

"The isInNet(host, pattern, mask) function returns TRUE if the host IP address matches the specified pattern. The mask indicates which part of the IP address to match (255=match, 0=ignore)."

 

Just read up after reading your post, i didnt know that subnet is tell it which part to match :)

 

Thankyou!

Posted

Probably myIPAddress() == "10.0.1.1" would do it - isinnet is just a shortcut to make it easier to describe networks.

 

Out of interest why are you doing this?

Posted (edited)
Probably myIPAddress() == "10.0.1.1" would do it - isinnet is just a shortcut to make it easier to describe networks.

 

Out of interest why are you doing this?

 

Hi Tom,

 

We have serveral staff who are testing Office 2013. This needs Kerberos Auth (Setup on port smoothwall:1080).

Main staff/Students use NTLM (smoothwall:3127)

The head wants to use an application that smoothwall support could get working on friday (ticket open) so they said as a temp solution put them on port smoothwall:801 to bypass smoothwall.

 

So we need 3 x different proxy ports assigned.

 

Would this be easier through smoothwall? would assigning port 801 even be possible through smoothwall?

Edited by burgemaster
Posted
Hmm, one option if you can do this by IP is just to set up a different auth method per IP address or range (web filter/auth/policies) - wouldn't solve the wonky app problem though. Which app was it?
Posted (edited)

Thanks Tom.

GP gives all users the smoothwall proxy.pac.

Could 801 even be given in the auth policies?

 

The app is "http://tweetdeck.com/"

Edited by burgemaster

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...