LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Squid problem (https://www.linuxquestions.org/questions/linux-newbie-8/squid-problem-385420/)

yuriwalker 11-22-2005 03:05 AM

Squid problem
 
i had recently istalled in my network. i have trouble accessing public statip ip sites ht*p://xx.xx.xx.xx:8082. is there anything i missed on my squid.conf. Please help!

Thanks,

Yuri

prabuayyappan 11-22-2005 08:20 AM

can you post your squid.conf file.

yuriwalker 11-23-2005 04:51 AM

hi m8,

this is my squid.conf:


http_port 192.168.69.251:8080
icp_port 0
# cache_peer 0.0.0.0 parent 8080 0 no-query default

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

cache_mem 64 MB
cache_swap_low 80
cache_swap_high 85

maximum_object_size 320010 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 16 KB

ipcache_size 1024
ipcache_low 80
ipcache_high 85
fqdncache_size 2048

cache_replacement_policy heap GDSF
memory_replacement_policy heap GDSF
cache_dir diskd /var/spool/squid 10240 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
cache_store_log none
mime_table /etc/squid/mime.conf
ftp_user nobody@cwt-sa.net
half_closed_clients off

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localsrc src 127.0.0.1 192.168.69.0/255.255.255.0
acl localdst dst 127.0.0.1 192.168.69.251/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 20 21 70 80 81 119 210 443 563 980 1025-65535
acl CONNECT method CONNECT

http_access allow manager localsrc
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localsrc
http_access deny all
http_reply_access allow localsrc
http_reply_access allow localdst
http_reply_access deny all

icp_access allow all
miss_access allow all
cache_mgr nobody@cwt-sa.net
visible_hostname proxy.cwt-sa.net

httpd_accel_host virtual
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

log_icp_queries off
store_avg_object_size 3 KB
logfile_rotate 10
client_db off
always_direct allow webdav
always_direct allow all

# never_direct allow all
redirector_bypass on
server_persistent_connections off
client_persistent_connections off

kaazzman 11-26-2005 04:10 AM

Hello, i need help.

I just configured a linux box ass a proxy server, the clientss are browsing fine with tthe poxy settings but if i try to login to chat room from my yahoo messenger , i will log me out or tell me that it can not enter chat room.

Plz help me out

amitsharma_26 11-26-2005 05:39 AM

Re: Squid problem
 
Quote:

Originally posted by yuriwalker
i had recently istalled in my network. i have trouble accessing public statip ip sites ht*p://xx.xx.xx.xx:8082. is there anything i missed on my squid.conf. Please help!

Thanks,

Yuri

Yuri is it so tht are you not able to access static sites which are hosted on ports other than 80 only?
Are you facing the same problem from your SQUID box ?

prabuayyappan 11-28-2005 03:34 AM

hello Kazzmaan,

Can you post your access.log file and squid.conf file.

yuriwalker 12-01-2005 09:38 AM

amitsharma & prabuayyappan ,

Yes i can't really access websites that are hosted in a different port than 80. I tried a lot even from the linux box it self.


Need help.


Thanks

prabuayyappan 12-02-2005 05:02 AM

have u redirected the ports to squid ...If not try that...


All times are GMT -5. The time now is 05:28 PM.