Freesco, NND, CDN, EOS
http://forum.freesco.pl/

proxy
http://forum.freesco.pl/viewtopic.php?f=35&t=2117
Strona 1 z 1

Autor:  Anonymous [ piątek, 6 czerwca 2003, 20:09 ]
Tytuł:  proxy

Postawilem sobie squida i nie chce dzialac, tzn. po wpisaniu :
: [/] [] ()
ipfwadm -I -i accept -r 3128 -P tcp -S 192.168.0.0/24 -D any/0 www

czyli przekierowania na port 3128 wyskakuje blad jak wchodze w jaka kolwiek strone
Cytuj:
ERROR The requested URL could not be retrieved

Oto moj plik konfiguracyjny squid.conf:

Cytuj:
http_port 3128
icp_port 3130

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

cache_mem 3 MB
cache_swap_low 90
cache_spaw_high 95
maximum_object_size 1024 KB

cache_peer w3cache.icm.edu.pl parent 3128 3130 weight=3 no-digest

cache_dir ufs /mnt/router/packages/squid/cache 100 16 16
#cache_access_log /mnt/router/packages/squid/logs/access.log
#cache_log /mnt/router/packages/squid/logs/cache.log
#cache_store_log /mnt/router/packages/squid/logs/store.log
#mime_table /mnt/router/packages/squid/etc/mime.conf
#pid_filename /mnt/router/packages/squid/logs/squid.pid
#debug_options ALL,1

dns_nameservers 194.204.159.1 194.204.152.34
#cache_dns_program /mnt/router/packages/squid/bin/dnsserver
#dns_children 5

#unlinkd_program /mnt/router/packages/squid/bin/unlinkd

#redirect_program none
#redirect_children 5
#redirect_rewrites_host_header on

# redirector_access

# authenticate_program /mnt/router/packages/squid/bin/ncsa_auth /mnt/router/packages/squid/etc/passwd
#authenticate_children 5
#authenticate_ttl 3600
#authenticate_ip_ttl 0

#request_header_max_size 10 KB
#request_body_max_size 1 MB
#reply_body_max_size 0

refresh_pattern -i (.*jpg$|.*gif$) 0 50% 10080
refresh_pattern -i (.*html$|.*htm$|.*shtml$) 0 20% 1440
refresh_pattern (http://.*/$) 0 20% 1440

acl all src 192.168.0.1/255.255.255.0
acl localnet src 192.168.0.1/255.255.255.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT

http_access allow manager localnet
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#
http_access allow localnet
http_access deny all

icp_access allow all
miss_access allow all

cache_mgr webmaster
cache_effective_user nobody
cache_effective_group nobody

httpd_accel_host router
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

dns_testnames localhost irongate

#logfile_rotate 10

memory_pools off
# memory_pools_limit 12 MB

log_icp_queries off

cachemgr_passwd haslo all

buffered_logs on

czy cos jest zle??
co mam poprawic lub dopisac zeby dobrze chodzilo? z gory dzieki za odpowiedzi :D

Autor:  Anonymous [ wtorek, 17 czerwca 2003, 14:12 ]
Tytuł: 

przestawilem port z 3128 na 8080 i wszystko chodzi

Strona 1 z 1 Strefa czasowa UTC+2godz.
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/