Thanks for your help. I have to modify the file squid-redirector.pl and added 
below code. I still test on windows update to see how that work.

 while (<>) {
# parameters provided by Squid
# http://wiki.squid-cache.org/Features/Redirectors
my ($id, $url, $ip_fqdn, $ident, $method, %params) = split;
# if we are already hitting the captive portal, don't do anything
if ($url =~ /$captive_portal/) {
print "$id ";
} elsif ($url =~ m|(.*)\.update\.microsoft\.com(.*)|) {
$url = http://myproxy.local;
 
From: Olivier Bilodeau <[email protected]>
To: [email protected]
Sent: Tuesday, October 25, 2011 8:09 AM
Subject: Re: [Packetfence-users] PF Passthrough

> I have a question about proxy passthrough. I currently testing
> Packetfence 3.01. My test laptop (XP) have a proxy settings.
> I have configured squid to redirect to registration web page. When a
> violation triggered, PF takes user to a violation page and
> laptop is in registration vlan (I don't want violation vlan because
> dhcpd time out and take too much time to renew address).
> I add a http link (ex: http://10.1.34.36)on my remediation webpage to
> instruct user to go to this webpage to fix the problem before
> enable the Network . When I select the http link, web browser take me
> back to the violation page instead to the web link. I also shutdown
> iptables to test but not successful. Should passthrough allow me to go
> to the web link I configured. What am I missing? Thanks

Yes, it should without proxy-bypass. That said, passthrough AND proxy
bypass is certainly not tested as it is not a conventional workflow and
was never requested before.

To make it work without sponsoring the feature to us, you should modify
the squid proxy redirector script to proxy out for your allowed
destination instead of redirecting on the destination you want to allow.

See squid's documentation for help on that.

Cheers!
-- 
Olivier Bilodeau
[email protected]  ::  +1.514.447.4918 *115  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
(www.packetfence.org)

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to