in connection to gene's suggestion... setup two ACLs. one for blocking all the sites and another for allowing the websites that you want.
ex. acl unblocked url_regex "/etc/squid/unblock.txt" http_access allow unblocked cl blockedsites url_regex "/etc/squid/block.txt" http_access deny blockedsites * my unblock.txt contains cisco ubaguio * my block.txt contains .org .com .net .ph .biz .info hope this helps > what are you planning to do? > restrict everything but one site? > > >From: Gene Frederick Boniel <[EMAIL PROTECTED]> > >Reply-To: [EMAIL PROTECTED] > >To: <[EMAIL PROTECTED]> > >Subject: Re: [plug] ipchains > >Date: Wed, 24 Apr 2002 12:42:26 +0800 (PHT) > > > > > > >try doing transparent proxying on your box the make some rules on your > >squid proxy. ACL rules on squid make sense on that case i guess. :) > > > >gfb > > > >On Wed, 24 Apr 2002, Jimmy C. Vicedo wrote: > > > > > Dear PLUGgers, > > > > > > How do I set my ipchains rules so that the internal or private network > >can > > > access > > > only one particular web site in the internet? Can I also do it using > >Squid > > > proxy? > > > We have a proxy/firewall setup connected to the internet using Redhat > >7.1. > > > Thanks in advance. > > > > > > Jimmy > > > > > > _ > > > Philippine Linux Users Group. Web site and archives at > >http://plug.linux.org.ph > > > To leave: send "unsubscribe" in the body to > >[EMAIL PROTECTED] > > > > > > To subscribe to the Linux Newbies' List: send "subscribe" in the body to > >[EMAIL PROTECTED] > > > > > > >_ > >Philippine Linux Users Group. Web site and archives at > >http://plug.linux.org.ph > >To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] > > > >To subscribe to the Linux Newbies' List: send "subscribe" in the body to > >[EMAIL PROTECTED] > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > _ > Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph > To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] > > To subscribe to the Linux Newbies' List: send "subscribe" Jopoy C. Solano Systems Administrator University of Baguio -------- University of Baguio General Luna Road Baguio City Philippines 2600 Phone: +63 74 4423540 Fax: +63 74 4423071 http://www.ubaguio.edu _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
