EFW Support
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Friday 01 November 2024, 05:15:00 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Get the new Updates directly from Endian
HERE
14248
Posts in
4376
Topics by
6515
Members
Latest Member:
hulteends
Search:
Advanced search
EFW Support
Support
EFW SMTP, HTTP, SIP, FTP Proxy Support
wpad.dat enable problem
0 Members and 3 Guests are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: wpad.dat enable problem (Read 18176 times)
soguknewale
Jr. Member
Offline
Posts: 3
wpad.dat enable problem
«
on:
Saturday 15 January 2011, 09:11:15 am »
Hi;
I want to enable wpad.dat proxy script on endian 2.4.0 and i have problem
First of all i tried this file on an xp intalled iis server 6.0
------------------------------------------------------------------------------------------------------------------------------
findproxyforurl.com/wpad_tutorial.html
Web Server Configuration
IIS Server
1. Login to the server through Terminal Services or Remote Desktop Connection.
2. Click Start, select Programs, and then click Administrative Tools.
For IIS 6.0: Open Internet Information Services.
3. In the left column you will see the Server Name.
In IIS 6.0: expand the Server Name and then Web Sites to find the domain name.
4. Right-click on the domain name and select Properties.
5. On the HTTP Headers tab click MIME Types.
6. Click New.
7. Enter the below information:
Extension: .dat
MIME type: application/x-ns-proxy-autoconfig
8. Click OK.
------------------------------------------------------------------------------------------------------------------------------
iis server ip adres : 192.168.1.150
endian server ip adres : 192.168.1.252
Proxy script conf on client : 192.168.1.150/wpad.dat
wpad.dat
function FindProxyForURL(url, host) {
// If IP address is internal or hostname resolves to internal IP, send direct.
var resolved_ip = dnsResolve(host);
if (isInNet(resolved_ip, "10.0.0.0", "255.0.0.0") ||
isInNet(resolved_ip, "172.16.0.0", "255.240.0.0") ||
//isInNet(resolved_ip, "192.168.0.0", "255.255.0.0") ||
isInNet(resolved_ip, "127.0.0.0", "255.255.255.0"))
return "DIRECT";
// Use a different proxy for each protocol.
if (shExpMatch(url, "http:*")) return "PROXY 192.168.1.252:8080";
if (shExpMatch(url, "https:*")) return "PROXY 192.168.1.252:8080";
if (shExpMatch(url, "ftp:*")) return "PROXY 192.168.1.252:8080";
}
it's working like that.everything is fine to this step.
But when i equalized this wpad.dat file on endian server it's not working
root@efw:/var/efw/proxy #
vi /home/httpd/html/wpad.dat
root@efw:/var/log/squid #
tail -f /var/log/squid/access.log
Jan 14 23:44:39 efw squid[20960]: 1295041479.867 1 192.168.1.149 TCP_DENIED/403 2734 GET 192.168.1.252/wpad.dat - NONE/- text/html
Jan 14 23:44:43 efw squid[20960]: 1295041483.026 6 192.168.1.149 TCP_DENIED/403 2734 GET 192.168.1.252/wpad.dat - NONE/- text/html
Jan 14 23:44:43 efw squid[20960]: 1295041483.220 1 192.168.1.149 TCP_DENIED/403 2734 GET 192.168.1.252/wpad.dat - NONE/- text/html
Jan 14 23:44:49 efw squid[20960]: 1295041489.942 1 192.168.1.149 TCP_DENIED/403 2734 GET 192.168.1.252/wpad.dat - NONE/- text/html
is there anyone who experienced with this wpad.dat problem
Logged
soguknewale
Jr. Member
Offline
Posts: 3
Re: wpad.dat enable problem
«
Reply #1 on:
Wednesday 19 January 2011, 09:36:11 pm »
Hi,
I still have same problem.
I'm going to publish wpad.dat file another iis server in that case
Logged
davvidde
Full Member
Offline
Gender:
Posts: 68
Re: wpad.dat enable problem
«
Reply #2 on:
Tuesday 01 February 2011, 07:12:02 am »
Did you change the DNS record on your DNS server to point to the endian firewall that host wpad.dat?
Also check that
http://your_endian_ip_address/wpad.dat
give you the ability to save the configuration scripts.
Davide.
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Project News
=> Latest News and Updates
-----------------------------
Support
-----------------------------
=> General Support
=> Installation Support
=> EFW SMTP, HTTP, SIP, FTP Proxy Support
=> VPN Support
=> Hardware Support
-----------------------------
Development
-----------------------------
=> EFW Wishlist
=> Contribute Your Customisations & Modifications
Page created in 0.047 seconds with 18 queries.
Powered by SMF 1.1 RC2
|
SMF © 2001-2005, Lewis Media
Design by
7dana.com