Squid With DSL

Discussion regarding the installation and configuration of Linux distributions.
Post Reply
naeem
Lance Naik
Posts: 26
Joined: Tue Jan 21, 2003 7:59 pm
Location: Saudi Arab
Contact:

Squid With DSL

Post by naeem »

Hye Guys I have a system with 3.0GHZ Hyoer Threading,1G RAM, HDD 80*2, and one DSL modem Alcatel. and i have installed the Mandrake 9.1.

Can u guys give me the best configuration file for my system. And tell me please how to configure it with DSL. Is there any specific configuration with DSL. I have done it but i have a problem. Let me explain my problem to you. I loaded the config file from the forum. from Färrükh Ähmëd. I am now posting this file i have edited. When i dont edit the option http_access deny all then i rcv error of access is denied but when i edit this option to "http_access allow all" My clients machines dont seems to find the proxy server it seems to browse but no error no webpage i can see. Plz check my this file and let me know where i m wrong

http_port 8080

#-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-
# Transparent LIne's Under
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

icp_port 3130
dead_peer_timeout 10 seconds
hierarchy_stoplist cgi-bin ?

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

cache_mem 38 MB
cache_swap_low 80
cache_swap_high 95

maximum_object_size 9200 KB
ipcache_size 1024
ipcache_low 90
ipcache_high 95
fqdncache_size 1024
cache_replacement_policy heap GDSF

cache_dir ufs /var/spool/squid/cache 23000 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
pid_filename /var/run/squid.pid

#dns_nameservers 10.0.0.1 202.141.224.34 202.141.229.34
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

#reference_age 3 months
quick_abort_min 16 KB
quick_abort_max 16 KB
quick_abort_pct 95

negative_ttl 0 minutes
positive_dns_ttl 24 hours
negative_dns_ttl 1 minutes
range_offset_limit 0 KB

connect_timeout 120 minutes
peer_connect_timeout 30 seconds
#siteselect_timeout 4 seconds
read_timeout 15 minutes
request_timeout 30 seconds

client_lifetime 1 day
pconn_timeout 120 seconds

ident_timeout 10 seconds
shutdown_lifetime 30 seconds

acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl clients src 10.0.0.0/255.255.255.0
acl vfilter url_regex -i root.exe kmd.exe kazaa.exe imesh.exe msblast.exe mslaugh.exe dcom.exe
acl manager proto cache_object
acl SSL_ports port 443 563
acl Safe_ports port 80 21 433 563 70 210 1025-65535 280 591 777
acl CONNECT method CONNECT

http_access allow manager localhost
http_access allow clients
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow all

icp_access allow all
miss_access allow all
cache_mgr naeemarshad@msn.com

cache_effective_user squid
cache_effective_group squid
visible_hostname proxy
unique_hostname proxy

dns_testnames netscape.com internic.net nlanr.net microsoft.com
err_html_text "mailto:naeemarshad@msn.com"

# hostname type port port options
# # -------------------- -------- ----- ----- -----------
# adsl.awalnet.net.sa parent 8080 3130 [proxy-only]
# cache_peer sib1.foo.net sibling 3128 3130 [proxy-only]
# cache_peer sib2.foo.net sibling 3128 3130 [proxy-only]

actually i m using proxy servers from my ISP so tell me do i need also some specific configuration for that.

Plzz help me i will remember u in my prayers!
Netwrok Administrator ( Al-Shdady Computer)
M. Naeem Arshad
Post Reply