1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

Forums
Welcome, Guest
Proxy Server Auto-detection
(1 viewing) 1 Guest
Go to bottomPage: 123
TOPIC: Proxy Server Auto-detection
#40981
Re: Proxy Server Auto-detection 1 Year ago  
Is there any other information that I can offer to make this easier? I am sure there is just something I am missing, but I cant find what it is.
I have setup the DNS like :
DNS Server
IP Address: 192.168.2.1
Hostname: gateway.lan
Alias#1: gateway.gateway.lan

IP Settings:
Network Mode Gateway Mode
Hostname gateway.gateway.lan
Default Domain gateway.lan

DNS
DNS Server #1 63.160.60.13
DNS Server #2 63.160.60.7
DNS Server #3 8.8.8.8

DHCP Server
Network Interface eth1
Network 192.168.2.0
Lease Time 12 HR
Gateway 192.168.2.1
IP Range Start 192.168.2.100
IP Range End 192.168.2.200
DNS #1 192.168.2.1

wpad.dat
Location: /var/clearos/framework/htdocs (and is reachable @ 192.168.2.1:82/wpad.dat)
Current config
function FindProxyForURL (url, host)
{
return "PROXY 192.168.2.1:3128";
}

Other Config Tried
function FindProxyForURL (url, host)
{
return "PROXY 192.168.2.1:8080";
}

____________________________________________________________

If there is any other info that I can give you to assist me through this just let me know.
gary boyce
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#40996
Re: Proxy Server Auto-detection 1 Year ago  
you need to have a host that responds to wpad.gateway.lan (this is the address browsers will attempt to download the wpad.dat file from)

Add it to your local DNS file on ClearOS so that wpad.gateway.lan resolves to 192.168.2.1 - when working you should be able to ping this address from any PC on your LAN...
Tim Burgess
Moderator
Posts: 5802
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#41002
Re: Proxy Server Auto-detection 1 Year ago  
I am able to ping 192.168.2.1, but still am unable to get past "Please enable the proxy server settings with the following values:
IP Address - 192.168..2.1
Port - 3128"

I changed:

DNS Server
IP Address: 192.168.2.1
Hostname: gateway.lan
Alias#1: gateway.gateway.lan

To be:

DNS Server
IP Address: 192.168.2.1
Hostname: wpad.gateway.lan
Alias#1: wpad.gateway.lan

Is that what you are saying to do?
gary boyce
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#41093
Re: Proxy Server Auto-detection 1 Year ago  
Anyone??


gary boyce wrote:
I am able to ping 192.168.2.1, but still am unable to get past "Please enable the proxy server settings with the following values:
IP Address - 192.168..2.1
Port - 3128"

I changed:

DNS Server
IP Address: 192.168.2.1
Hostname: gateway.lan
Alias#1: gateway.gateway.lan

To be:

DNS Server
IP Address: 192.168.2.1
Hostname: wpad.gateway.lan
Alias#1: wpad.gateway.lan

Is that what you are saying to do?
gary boyce
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#44860
Re: Proxy Server Auto-detection 9 Months, 1 Week ago  
I am running into the same issue as well, where wpad.example.com:82/index.php is redirecting me to wpad.example.com:82/app/web_proxy/warning/configuration - which is telling me to configure the proxy server settings in my browser. I am able to ping wpad.example.com and have it resolve to the proper ip address, also I am using Internet Explorer 9 for these tests, without the proxy being configured in the browser.

I can see the index.php file at /usr/clearos/framework/htdocs, the htdocs directory is owned by root:root same with all of the files inside of it.

Any ideas?
arobinson
Senior Boarder
Posts: 70
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2012/08/14 13:27 By arobinson.
The administrator has disabled public write access.
Clear OS 6.3
Supermicro Atom mobo, 4 GB Ram, 4 Terabytes of storage (Software Raid 5)
Running as Samba Server/Serviio-DLNA/SubSonic/Zarafa with Z-Push/Web Server/MySQL/Firewall/Transmission (with Flexget)
 
#44894
Re: Proxy Server Auto-detection 9 Months, 1 Week ago  
It should be a file called wpad.dat not index.php, can you access it at wpad.exmaple.com/wpad.dat?

Have you configured your browser to automatically determine the proxy settings?
Tim Burgess
Moderator
Posts: 5802
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#45114
Re: Proxy Server Auto-detection 9 Months ago  
It should be a file called wpad.dat not index.php,<<<<

It is

can you access it at wpad.exmaple.com/wpad.dat?

No.

Have you configured your browser to automatically determine the proxy settings?

That is the default, so Yes.

Still does not resolve properly.

Problem seems to be outdated Howto documents that no one seems motivated to update.

www.clearfoundation.com/docs/howtos/proxy_server_auto-detection

The wpad.dat file should go into the /var/webconfig/htdocs on the ClearOS system.

As the above is clearly wrong, the user even when told the new directory location is still uncertain the location so long as said proper location does not produce the desired results.
darthanubis
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2012/08/20 08:02 By darthanubis.
The administrator has disabled public write access.
 
#45123
Re: Proxy Server Auto-detection 9 Months ago  
Of course because that was written for 5.2

Going from memory here... /usr/clearos/framework/htdocs/wpad.dat is the location for ClearOS 6.3

Create a alias hostname for your ClearOS IP address of wpad.yourdomain.com in /etc/hosts so that you can ping wpad.yourdomain.com from your clients.

Then test first with IP address yourip:82/wpad.dat, then try wpad.yourdomain.com:82/wpad.dat - you should pull up the wpad.dat file you created
Tim Burgess
Moderator
Posts: 5802
graph
User Offline Click here to see the profile of this user
Last Edit: 2012/08/20 09:04 By timb80.
The administrator has disabled public write access.
 
#45128
Re: Proxy Server Auto-detection 9 Months ago  
Tim Burgess wrote:
Of course because that was written for 5.2

Going from memory here... /usr/clearos/framework/htdocs/wpad.dat is the location for ClearOS 6.3

Create a alias hostname for your ClearOS IP address of wpad.yourdomain.com in /etc/hosts so that you can ping wpad.yourdomain.com from your clients.

Then test first with IP address yourip:82/wpad.dat, then try wpad.yourdomain.com:82/wpad.dat - you should pull up the wpad.dat file you created


wpad.clearos.lan:82/wpad.dat

function FindProxyForURL(url, host)
{
return "PROXY 192.168.0.3:3128";
}

I guess I had it right.

I was trying to hit the address with just wpad.clearos.lan:82 or wpad.clearos.lan/wpad.dat.

Not

yourip:82/wpad.dat, then try wpad.yourdomain.com:82/wpad.dat

Thank you for the clarification and correct syntax.
darthanubis
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#45251
Re: Proxy Server Auto-detection 9 Months ago  
Tim Burgess wrote:
It should be a file called wpad.dat not index.php, can you access it at wpad.exmaple.com/wpad.dat?

Have you configured your browser to automatically determine the proxy settings?


Thanks Tim,

It turns out the index.php page that i was trying to use for testing instead of just creating the wpad.dat file was actually the page that generates the error message about not having the proxy configured correctly. Creating the wpad.dat file corrected the issue.

Thanks!
arobinson
Senior Boarder
Posts: 70
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
Clear OS 6.3
Supermicro Atom mobo, 4 GB Ram, 4 Terabytes of storage (Software Raid 5)
Running as Samba Server/Serviio-DLNA/SubSonic/Zarafa with Z-Push/Web Server/MySQL/Firewall/Transmission (with Flexget)
 
Go to topPage: 123
  get the latest posts directly to your desktop