URL: https://www.opennet.ru/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID12
Нить номер: 3835
[ Назад ]

Исходное сообщение
"Помогите настроить под 2000"

Отправлено gooddem , 30-Янв-06 16:58 
Попробовал поставить squid под виндой, вроде запустился как служба, никаких сообщений об ошибках, но при попытке выхода через него в инет выдает:

ERROR
The requested URL could not be retrieved

While trying to retrieve the URL: http://ya.ru/

The following error was encountered:
Access Denied.

Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.

В файле конфига для acl ничего не менял.
Может подскажете
Машина выходит в инет ч-з adsl-маршрутизатор


Содержание

Сообщения в этом обсуждении
"Помогите настроить под 2000"
Отправлено ipmanyak , 31-Янв-06 07:31 
показывай конфиг сквида , только без комментариев плыз  



"Помогите настроить под 2000"
Отправлено gooddem , 31-Янв-06 09:45 
>показывай конфиг сквида , только без комментариев плыз

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 to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80        # http
acl Safe_ports port 21        # ftp
acl Safe_ports port 443 563    # https, snews
acl Safe_ports port 70        # gopher
acl Safe_ports port 210        # wais
acl Safe_ports port 1025-65535    # unregistered ports
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
#  TAG: http_access
#    Allowing or Denying access based on defined access lists
#
#    Access to the HTTP port:
#    http_access allow|deny [!]aclname ...
#
#    NOTE on default values:
#
#    If there are no "access" lines present, the default is to deny
#    the request.
#
#    If none of the "access" lines cause a match, the default is the
#    opposite of the last line in the list.  If the last line was
#    deny, the default is allow.  Conversely, if the last line
#    is allow, the default will be deny.  For these reasons, it is a
#    good idea to have an "deny all" or "allow all" entry at the end
#    of your access lists to avoid potential confusion.
#
#Default:
# http_access deny all

В принципе, параметры, установленные по умолчанию я не менял


"Помогите настроить под 2000"
Отправлено ipmanyak , 31-Янв-06 14:08 
ну и что ты хочешь коли ничего не менял ?  
там по дефолту стоит аксель http_access deny all
прочитай  доку в дистрибе сквида QUICKSTART и сделай для начала по ней настройки ,  минимально тебе нужно создать аксель для твоей сети и разрешить ей доступ.  типа
acl allowed_hosts src 192.168.0.0/255.255.255.0
http_access allow allowed_hosts
http_access deny all

"Помогите настроить под 2000"
Отправлено OZi , 11-Мрт-06 15:55 
найди в конфиге следующее:
#acl our_networks src 192.168.1.0/24
#http_access allow our_networks

разкоментируй обе строки, предварительно прописав свою сеть, с которой хочешь организовать выход.