Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trying to configure a Squid, NOT SUCCESS.

Status
Not open for further replies.

MITELMX

Technical User
Jul 12, 2005
66
CA
Hello all,

I have a linux box with SUSE, 2 networks cards one go to my LAN and the second to Internet, i am trying to get up SQUID but when i want to tested from my lan to get access internet i got an ACCESS DENY message.

I have tried many configurations but don't work.

I don't know if i am making some mistake.

This is the acl that i have:

# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS

# Example rule allowing access from your local networks. Adapt
# to list your (internal) IP networks from where browsing should
# be allowed
acl our_networks src 10.156.0.0/255.255.0.0
http_access allow our_networks

# And finally deny all other access to this proxy
http_access deny all


I will appreciate your orientation,

Thanks in advance.
 
- Modify according to your needs
- Do not panic from some redundant commands or unused ACLs
- Just, take what you need
- Squid used: Squid 2.6



My conf file:
-------------



cache_mgr any@any.any
visible_hostname any
cache_dir ufs c:/squid/var/cache 100 16 256
acl Query urlpath_regex cgi-bin \?
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl PURGE method PURGE
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 210 1025-65535 280 488 591 777
acl CONNECT method CONNECT
acl localnetwork0 src 127.0.0.0/8
acl localnetwork1 src 10.143.219.0/24
hierarchy_stoplist cgi-bin ?
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
coredump_dir c:/squid/var/cache

cache_mem 32 MB
dns_testnames localhost
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow PURGE localhost
http_access deny PURGE
http_access allow localnetwork0
http_access allow localnetwork1
no_cache deny QUERY
http_access deny all
http_reply_access allow all
icp_access deny all



http_port 10.143.219.1:8542




auth_param ntlm program c:/squid/libexec/mswin_ntlm_auth.exe
auth_param ntlm children 5

acl localnet proxy_auth REQUIRED src 10.143.219.0/24
http_access allow localnet


Regards.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top