+ Post New Thread
Results 1 to 7 of 7
Internet Related/Filtering/Firewall Thread, PROXY.PAC - Set different port for INDIVIDUAL computer IP/s? in Technical; Hi, We need to put a few computers on a different proxy port. We have two proxies, so everyone apart ...
  1. #1

    Join Date
    Aug 2007
    Posts
    827
    Thank Post
    101
    Thanked 65 Times in 47 Posts
    Rep Power
    26

    PROXY.PAC - Set different port for INDIVIDUAL computer IP/s?

    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:

    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

  2. #2


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339
    couldn't you do: if (isInNet(myIpAddress(), "10.10.10.10", "255.255.255.255")
    ?

  3. Thanks to CyberNerd from:

    burgemaster (19th April 2013)

  4. #3

    Join Date
    Aug 2007
    Posts
    827
    Thank Post
    101
    Thanked 65 Times in 47 Posts
    Rep Power
    26
    "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!

  5. #4


    tom_newton's Avatar
    Join Date
    Sep 2006
    Location
    Leeds
    Posts
    4,485
    Thank Post
    867
    Thanked 854 Times in 675 Posts
    Rep Power
    197
    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?

  6. #5

    Join Date
    Aug 2007
    Posts
    827
    Thank Post
    101
    Thanked 65 Times in 47 Posts
    Rep Power
    26
    Quote Originally Posted by tom_newton View Post
    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?
    Last edited by burgemaster; 20th April 2013 at 01:41 PM.

  7. #6


    tom_newton's Avatar
    Join Date
    Sep 2006
    Location
    Leeds
    Posts
    4,485
    Thank Post
    867
    Thanked 854 Times in 675 Posts
    Rep Power
    197
    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?

  8. #7

    Join Date
    Aug 2007
    Posts
    827
    Thank Post
    101
    Thanked 65 Times in 47 Posts
    Rep Power
    26
    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/"
    Last edited by burgemaster; 20th April 2013 at 06:51 PM.

SHARE:
+ Post New Thread

Similar Threads

  1. Proxy.Pac for Apple proxy exclusions
    By Darylrese in forum Mac
    Replies: 7
    Last Post: 8th February 2013, 02:29 PM
  2. wpad / Pac Proxy with different ports
    By Optimus in forum Internet Related/Filtering/Firewall
    Replies: 1
    Last Post: 2nd January 2012, 05:19 PM
  3. Proxy.pac for LGFL and preparing for LGFL2 next year.
    By TwoPlus1 in forum Internet Related/Filtering/Firewall
    Replies: 0
    Last Post: 19th October 2011, 01:11 PM
  4. Proxy server settings for N96
    By SimpleSi in forum Netbooks, PDA and Phones
    Replies: 1
    Last Post: 5th December 2008, 11:40 AM
  5. Replies: 9
    Last Post: 28th November 2008, 02:04 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •