connect to server using 2x ApplicationServer client

  • Thread starter Thread starter PeterK
  • Start date Start date
P

PeterK

hello everybody,

i am using the 2X ApplicationServer client version 6.1 (build 468) and everything was without a problem to set up, like the network setting and all the stuff - until i got the task to connect a computer to the server using the same client which has a different way to surf through the internet.

Sorry for my english and the stupid question - but i am normally investigating the internet settigs out of the browser how a computer is surfing, and this settings i am using for the client to connect to the server. Now the computer is using a "automatic configuration script" (.pac) in the browser but the client i am using hasn't any options to set such a thing up.

Now what to do? Is there any way to connect to a server using that .pac-file? or to get the IP out of that .pac-file? anything i can do?

for any answers i would be happy
thanks in advanced
 
Hi PeterK,

don't worry your English is fine. Anyway, a pac file is nothing else then a text file containing a java script function [FindProxyForURL(url, host)]. So, actually you can use even notepad to manipulate it.

Usually is named as "proxy.pac".

A simple examble would be:

function FindProxyForURL(url, host) { return "PROXY proxy.example.com:8080; DIRECT"; }

This function will make sure that all requests are send to the proxy port 8080 of the server "proxy.example.com". In case it doesn't work a directconnection to the internet (www) will be established.

There are a couple of other setting as:

if (isInNet(host, "10.0.0.0", "255.255.248.0")) {
return "PROXY fastproxy.example.com:8080";

Means: URLs within a network are requested via port 8080 on proxy fastproxy.example.com: (manage name server request)
 
Back
Top