burgemaster Posted April 19, 2013 Posted April 19, 2013 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
CyberNerd Posted April 19, 2013 Posted April 19, 2013 couldn't you do: if (isInNet(myIpAddress(), "10.10.10.10", "255.255.255.255") ? 1
burgemaster Posted April 19, 2013 Author Posted April 19, 2013 "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!
tom_newton Posted April 19, 2013 Posted April 19, 2013 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?
burgemaster Posted April 20, 2013 Author Posted April 20, 2013 (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 April 20, 2013 by burgemaster
tom_newton Posted April 20, 2013 Posted April 20, 2013 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?
burgemaster Posted April 20, 2013 Author Posted April 20, 2013 (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 April 20, 2013 by burgemaster
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now