Linux / UNIX Tech Support Forum
This is a discussion on Squid Proxy within the Linux software forums, part of the Linux Getting Started category; Hi I have installed redhat linux 9.0 in our office and configured squid transperant proxy + iptables firewall. I have ...
|
|||||||
| Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi
I have installed redhat linux 9.0 in our office and configured squid transperant proxy + iptables firewall. I have segregated my users into two groups like support staff and general users. There is no restriction for support staff and general users can browse only their allowed site and i denied access to all pronography stuffs for all. Now i want to add few more urls to be allowed to browse, entered the same in my ACL. But squid is not allowing, but already allowed sites i able to browse but newly added urls i am not able to browse. Here is my ACL control list http_access allow localhost acl mylan src 192.168.1.0/255.255.255.0 acl allowed_pc src "/etc/squid/allowed_pc" acl support_staff src "/etc/squid/support_staff" acl general src "/etc/squid/general" acl rejects url_regex "/etc/squid/rejects" acl allowed dstdomain "/etc/squid/allowed" http_access deny rejects http_access deny !allowed_pc http_access deny !mylan http_access allow general allowed allowed_pc http_access allow support_staff !general http_access deny all "allowed_pc" contains all the ip address to be able to access internet "support_staff" contains the ip address of theirs "general" contains all the general users ip address "rejects" has all the keywords and domain name of pronography stuffs. For eg. # vi rejects .sex.com .playboy.com xxx.com teengirls . . etc "allowed" has all the urls which can be accessed by general group. For eg. # vi allowed www.firstflight.com www.ffclchennai.net http://mq.hathway.com/mqsweb www.royalsundaram.com https://onlineservices.tin.nsdl.com/...eUsingPanno.do incometaxindiaefiling.gov.in mail1.hathway.com . . . etc In the above list , www.firstflight.com www.ffclchennai.net i am able browse which i made the entry at the time of installation. I recently added the remaining site, but i am unable browse the following sites http://mq.hathway.com/mqsweb www.royalsundaram.com https://onlineservices.tin.nsdl.com/...eUsingPanno.do surpringly i am able to browse incomtaxindiaefiling.gov.in , that also i added recently. I am restarting the squid server after each modification.... I have no clue what went wrong. Desperately need solution. Can you help me out Thanks in advance Sakthi |
| Sponsored Links | ||
|
|
|
||||
|
Just add domain name, no need to add url and http stuff:
Code:
mq.hathway.com www.royalsundaram.com onlineservices.tin.nsdl.com
__________________
Rocky Jr. What's wrong? I hope I am not making you uncomfortable... Never send a boy to do a mans job. |
|
|||
|
Even i added only domain name. It's not working..... To test the same i installed one more linux server configured the same, given only domain name, i am able to browse. But in first server i couldn't browse.. I have ditto configuration in both the servers . It's behaving funny,..
Somewhere i am making mistake.... checked the syntax for any extra space , instead of putting the allowed sites in a separate files i added those domain names in the acl command itself like acl xyz dstdomain mq.hathway.com .llspl.com but still the same result.... where is the mistake.. Pls. help me out Thanks in advance Sakthi.S |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to Squid 2.6 transparent proxy? | alex.inoa | Networking, Firewalls and Security | 5 | 30-10-2007 03:41 AM |
| Restrict number of simultaneous proxy connections in SQUID proxy | pkvmreddy | Getting started tutorials | 1 | 15-06-2007 03:52 PM |
| Squid Proxy Server | lacloai | Linux software | 3 | 02-06-2007 10:19 PM |
| How to allow MSN messenger through squid proxy | bubloob_13 | Linux software | 4 | 08-04-2007 09:37 AM |
| Problems With SQUID Proxy | rcordeiro | Linux software | 25 | 04-01-2007 01:39 PM |