The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]




Версия для распечатки Пред. тема | След. тема
Новые ответы [ Отслеживать ]
Squid - Access Denied - HELP! , !*! AlexandrG, 18-Фев-05, 15:05  [смотреть все]
conf простой, но когда стучу с клиента - Access Denied. Help please

http_port 3128

cache_dir /usr/local/squid/cache 4000 32 256
cache_access_log /usr/local/squid/logs/access.log
cache_log /usr/local/squid/logs/cache.log
cache_store_log /usr/local/squid/logs/store.log

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 SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl CONNECT method CONNECT

acl office src 192.168.0.0/255.255.255.0
acl koaksial src 192.168.1.0/255.255.255.0
acl arendator src 192.168.2.0/255.255.255.0

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

http_access deny all
http_access allow office
http_access allow koaksial
http_access allow arendator


cache_effective_user nobody
cache_effective_group nogroup

  • Squid - Access Denied - HELP! , !*! jonatan, 16:22 , 18-Фев-05 (1)
    • Squid - Access Denied - HELP! , !*! AlexandrG, 16:51 , 18-Фев-05 (2)
      >>http_access allow manager localhost
      >>http_access deny manager
      >>http_access deny !Safe_ports
      >Если думаешь, что после этого другие правила проверяться не будут, то ты
      > ошибаешься.
      >
      >>http_access deny CONNECT !SSL_ports
      >>icp_access allow all
      >>
      >>http_access deny all
      >Вот здесь все и рубится.

      если ты думаешь, что мне нужен открытый прокси - то хотя и анлим - попробуй с открытым прокси на яндексе чего нить поищи


      >
      >>http_access allow office
      >>http_access allow koaksial
      >>http_access allow arendator


      • Squid - Access Denied - HELP! , !*! jonatan, 17:16 , 18-Фев-05 (3)
        • Squid - Access Denied - HELP! , !*! AlexandrG, 17:25 , 18-Фев-05 (4)
          >>если ты думаешь, что мне нужен открытый прокси - то хотя и
          >>анлим - попробуй с открытым прокси на яндексе чего нить поищи
          >Может я что-то не понимаю? Тебе нужно разрешить выход в Инет для
          >
          >acl office src 192.168.0.0/255.255.255.0
          >acl koaksial src 192.168.1.0/255.255.255.0
          >acl arendator src 192.168.2.0/255.255.255.0
          >правильно? Если да, то squid правильно пишет Access Denied, потому что ты
          >запретил доступ всем.

          всем кроме:
          http_access allow office
          http_access allow koaksial
          http_access allow arendator





Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру