IP Subnet Redirect

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

IP Subnet Redirect

christian brendan
Hello

i have install squid and its working fine.
I have created expired IP pool: 192.168.2.0/24  and i want all client on that subnet to be directed to my my website, eg: mycompany/expired.htm
Please how do i make this possible?

Best regards 

_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: IP Subnet Redirect

Amos Jeffries
Administrator
On 9/04/2017 1:32 a.m., christian brendan wrote:
> Hello
>
> i have install squid and its working fine.
> I have created expired IP pool: 192.168.2.0/24  and i want all client on
> that subnet to be directed to my my website, eg: mycompany/expired.htm
> Please how do i make this possible?
>

Place these lines above any "http_access allow" rules that you have:

  acl expired src 192.168.2.0/24
  acl expiredAllowed dstdomain mycompany.local
  deny_info 302:http://mycompany.local/expired.htm expired
  http_access deny !expiredAllowed expired

Amos

_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: IP Subnet Redirect

christian brendan
In reply to this post by christian brendan


On Sun, Apr 9, 2017 at 1:00 PM, <[hidden email]> wrote:
Send squid-users mailing list submissions to
        [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.squid-cache.org/listinfo/squid-users
or, via email, send a message with subject or body 'help' to
        [hidden email]

You can reach the person managing the list at
        [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of squid-users digest..."


Today's Topics:

   1. Re: Windows Updates a Caching Stub zone,  A windows updates
      store. (Omid Kosari)
   2. IP Subnet Redirect (christian brendan)
   3. Re: IP Subnet Redirect (Amos Jeffries)
   4. need an SSL example conf (turgut kalfaoğlu)


----------------------------------------------------------------------

Message: 1
Date: Sat, 8 Apr 2017 05:27:41 -0700 (PDT)
From: Omid Kosari <[hidden email]>
To: [hidden email]
Subject: Re: [squid-users] Windows Updates a Caching Stub zone, A
        windows updates store.
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=us-ascii

Thanks for reply.


Eliezer Croitoru wrote
> Also what is busy for you?

The fetcher script is always downloading . For example right now i can see
that a fetcher script is running for more than 3 days and it is downloading
files one by one .


Eliezer Croitoru wrote
> Also what is busy for you?
> Are you using a lock file ?( it might be possible that your server is
> downloading in some loop and this is what causing this load)

Yes . Everything looks fine in that mean .


Eliezer Croitoru wrote
> Did you upgraded to the latest version?

Yes


I will send you the files .

Thanks




--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Windows-Updates-a-Caching-Stub-zone-A-windows-updates-store-tp4678454p4682033.html
Sent from the Squid - Users mailing list archive at Nabble.com.


------------------------------

Message: 2
Date: Sat, 8 Apr 2017 14:32:20 +0100
From: christian brendan <[hidden email]>
To: [hidden email],
        [hidden email]
Subject: [squid-users] IP Subnet Redirect
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset="utf-8"

Hello

i have install squid and its working fine.
I have created expired IP pool: 192.168.2.0/24  and i want all client on
that subnet to be directed to my my website, eg: mycompany/expired.htm
Please how do i make this possible?

Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20170408/7567af7a/attachment-0001.html>

------------------------------

Message: 3
Date: Sun, 9 Apr 2017 03:04:58 +1200
From: Amos Jeffries <[hidden email]>
To: [hidden email]
Subject: Re: [squid-users] IP Subnet Redirect
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=utf-8

On 9/04/2017 1:32 a.m., christian brendan wrote:
> Hello
>
> i have install squid and its working fine.
> I have created expired IP pool: 192.168.2.0/24  and i want all client on
> that subnet to be directed to my my website, eg: mycompany/expired.htm
> Please how do i make this possible?
>

Place these lines above any "http_access allow" rules that you have:

  acl expired src 192.168.2.0/24
  acl expiredAllowed dstdomain mycompany.local
  deny_info 302:http://mycompany.local/expired.htm expired
  http_access deny !expiredAllowed expired

Amos



------------------------------

Message: 4
Date: Sun, 9 Apr 2017 08:13:22 +0300
From: turgut kalfaoğlu <[hidden email]>
To: [hidden email]
Subject: [squid-users] need an SSL example conf
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi there. I need help setting up SSL caching -- just for facebook.

It's a small LAN; and I would like to speed up the internet by caching
facebook junk.

I tried to cache all SSL connections --- but connecting to bank web
sites gave us headaches - they are apparently more strict somehow.

Does anyone have anything similar they can share?

Many thanks, -turgut




------------------------------

Subject: Digest Footer

_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users


------------------------------

End of squid-users Digest, Vol 32, Issue 15
*******************************************


@Amos Jeffries Thanks alot for your prompt response, i will try your conf over the weekend and provide feedback.​
 


_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Loading...