Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have this Astaro Security Gateway Version 7 which acts as a firewall and proxy... I need to access from all the office to a pc on my lan that has apache on it: When I open it Astaro's proxy says:

Astaro Security Gateway Version 7 An error occurred while handling your request

While trying to retrieve the URL: Error message: Target service not allowed

I can circumvent the error configuring my browser's proxy exception but I have a lot of clients and no Active Directory so I'd like to plan this with attention. Changing the Astaro configuration would be the sweetest thing (so if anyone has hints... :) ) but I've also read about a .pec file to configure automatically browser settings and I've managed to prepare it correctly:

function FindProxyForURL(url, host)

{ // variable strings to return var proxy_yes = "PROXY"; var proxy_no = "DIRECT"; if (shExpMatch(url, "*")) { return proxy_no; } if (shExpMatch(url, "*")) { return proxy_no; } if (shExpMatch(url, "*")) { return proxy_no; } // Proxy if PC is on local LAN // if (isInNet(myIpAddress(), "", "")) // return "PROXY"; else return "PROXY"; }

And put it on a little webserver: works as a champ.

Do anyone has a nice idea to "spread" it fast? A double click - batch, a regedit file, anything that's not Active Directory related?

Thanks! :)

share|improve this question
up vote 0 down vote accepted

No news on the astaro side but here's my solution:

There's a regkey:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\AutoConfigURL

which I've set with the patch to the webserver where I have the PEC file and exporting it now I can easily install my new rules on any client and control all of them modifying just my PEC file.

Have fun!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.