• RSS
  • Twitter
  • FaceBook

Welcome to ISAserver.org

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

Proxy pac file issues

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Threat Management Gateway (TMG) 2010] >> General >> Proxy pac file issues Page: [1]
Login
Message << Older Topic   Newer Topic >>
Proxy pac file issues - 20.Dec.2011 11:18:51 AM   
Crash28

 

Posts: 33
Joined: 26.Nov.2009
Status: offline
Seasons greetings everyone!!

We just implemented a proxy pac file which appeared to be working ok. That is until I tried to set my out of office in outlook. I receive the "Your automatic reply settings cannot be displayed because the server is currently unavailable. Try again later." error.

If I, in TMG console, Networking|Internal Properties|Forefront TMG Client, uncheck "Use automatic configuration script" and "Use a Web proxy server", and wait for the changes to apply, out of office works no problem.

Do I have a configuration issue within the proxy pac file? Anyone ran into this before? Please help as I'm sure by the end of the week people will try to set OOO before the holidays.

Thanks!
Post #: 1
RE: Proxy pac file issues - 20.Dec.2011 12:28:57 PM   
pwindell

 

Posts: 2244
Joined: 12.Apr.2004
From: Taylorville, IL
Status: offline
Why screw around with a ridgid inflexable PAC file when ISA builds its own script file on the fly and keeps it in sync with the ISA's settings.

WPAD Setup
http://phillipwindell.wordpress.com/tech-pages/isatmg/wpad-setup/

_____________________________

Phillip Windell

(in reply to Crash28)
Post #: 2
RE: Proxy pac file issues - 20.Dec.2011 12:43:00 PM   
Crash28

 

Posts: 33
Joined: 26.Nov.2009
Status: offline
Is that the difference between checking "Use default URL" instead of "Use custom URL"?

(in reply to pwindell)
Post #: 3
RE: Proxy pac file issues - 20.Dec.2011 12:46:38 PM   
pwindell

 

Posts: 2244
Joined: 12.Apr.2004
From: Taylorville, IL
Status: offline
Yes,...But you don't even need that at all.  Just leave it blank.  The only setting you need is the first check box that tell the browser to auto-detect.  Leave everything else blank.

1. The WPAD process tells the Client how to find the Script
2. The resulting Script tells the client how to find the proxy

It is a "two part" process.

< Message edited by pwindell -- 20.Dec.2011 12:53:21 PM >


_____________________________

Phillip Windell

(in reply to Crash28)
Post #: 4
RE: Proxy pac file issues - 20.Dec.2011 12:53:06 PM   
Crash28

 

Posts: 33
Joined: 26.Nov.2009
Status: offline
I'm not in a position to do that just yet. At least I don't think I am. We have our old proxy isa2004 still in production using wpad. I'd like to use wpad but can even have two wpad entries?

(in reply to pwindell)
Post #: 5
RE: Proxy pac file issues - 20.Dec.2011 1:00:08 PM   
pwindell

 

Posts: 2244
Joined: 12.Apr.2004
From: Taylorville, IL
Status: offline
No you can't have two WPAD entries unless you divide the LAN into subnets. Then you can have a different one for each subnet via making it a Scope Option rather than a Server Option in DHCP.  However DNS is not flexable enough for thate so you couldn't use DNS with it (which is bad).

Now with DNS you should make a CNAME called "wpad" in all lower case.  In Server2003 or newer make sure you remove "wpad" from the Restricted DNS names list.  Then in the DHCP Settings you reference it via the "wpad" name (wpad.mydomain.com).  This way when you change from the ISA2004 to the ISA2006 all you have to do is re-point the DNS CNAME to the new proxy and everything else is automatic.

But in the mean time you are stuck with manual PAC files or just manual proxy settings for your "testing" of the new ISA2006.

_____________________________

Phillip Windell

(in reply to Crash28)
Post #: 6
RE: Proxy pac file issues - 21.Dec.2011 5:36:43 PM   
Crash28

 

Posts: 33
Joined: 26.Nov.2009
Status: offline
Now I'm stuck. Through the process of elimination I've found the cause of my OOO issue. Using the automatic configuration script option, I copied the contents of the default script and saved it as proxy.pac. Both files are identical. If my custom url points to:

http://server.com:9090/array.dll?Get.Routing.Script

my OOO works no problem.

If I change the url to the proxy.pac file:

file:////server/share/proxy/proxy.pac

OOO does NOT work.

Is my custom url syntax correct when using a file based proxy pac file?

Thanks,
Mark

< Message edited by Crash28 -- 21.Dec.2011 5:38:45 PM >

(in reply to pwindell)
Post #: 7
RE: Proxy pac file issues - 22.Dec.2011 9:40:13 AM   
pwindell

 

Posts: 2244
Joined: 12.Apr.2004
From: Taylorville, IL
Status: offline
quote:

ORIGINAL: Crash28

http://server.com:9090/array.dll?Get.Routing.Script


Don't monkey with the ports.  That would stay on 8080.  That is not a "script",...that is a command that tells it to use a script,..so not the same thing.

The actual WPAD script,..if you use the one generated by the ISA,... it is published over 80,..not 8080,...and never change that or DNS will fail to deal with it,...DNS will only work with WPAD over 80 and it cannot be changed,...that is an industry thing,..not an MS thing..

quote:


my OOO works no problem.

If I change the url to the proxy.pac file:

file:////server/share/proxy/proxy.pac


I belive it has to be a URL, not a UNC path.  So,...it has to sit on a Web Sever within a website that is reachable via URL.  Since you will not have a web Server running on the ISA you have to move the file to another machine that has a web server.  The dymanic WPAD script in ISA will publish from the ISA (just like if it was on a Web Server) because that ability is built into the ISA,...but you can't do that with a custom script,...you have to put it on a web server somewhere.

< Message edited by pwindell -- 22.Dec.2011 9:42:46 AM >


_____________________________

Phillip Windell

(in reply to Crash28)
Post #: 8

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Threat Management Gateway (TMG) 2010] >> General >> Proxy pac file issues Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts