From: "Russu V.F." <ruwa@psrp.te.ru> To: "mandrake-russian-admin@altlinux.ru" <mandrake-russian@altlinux.ru> Subject: Re[2]: [mdk-re] [JT] squid Date: Mon Nov 26 08:01:01 2001 Message-ID: <261726965465.20011126100917@psrp.te.ru> (raw) In-Reply-To: <20011125005111.098ec0b6.gosha@sendmail.ru> Hello mandrake-russian-admin, Sunday, November 25, 2001, 12:51:11 AM, you wrote: > On Sat, 24 Nov 2001 23:11:59 +0500 > Gosha <gosha@sendmail.ru> wrote: >> ....... >> # ACL >> acl all src 0.0.0.0/0.0.0.0 >> acl all_private src 192.168.1.0/255.255.255.0 >> acl all_nonprivate src (адрес.моей.неприватной.сети)/255.255.255.248 >> ....... >> http_access allow all_private >> http_access allow all_nonprivate >> >> Не могу получить доступа с любой машины из приватной >> и неприватной сетей. Получаю ошибку "Доступ запрещен". >> Если же сделать (или добавить к предыдущему): >> >> http_access allow all >> >> то доступ есть. Что я неправильно делаю? > Уточню. Оказалось, что если прописать не сети, а конкретные > машины, то доступ с этих машин есть. Т.е., например: > acl host1 src 192.168.1.1/255.255.255.255 > http_access allow host1 > дает доступ с машины host1. А как же быть с сетями? > Что ж мне все машины всех сетей прописывать придется? порядок правил соблюден ??? у меня работает по сетям все.... вот мой пример acl all src 0.0.0.0/0.0.0.0 acl PSRP src 192.168.20.0/24 [ ешо куча правил, типа рубить chat и все такое ] http_access deny all !PSRP squid 2.4.STABLE1-2.asp поставь в конфиге debug_options ALL,2 и смотри в cache.log как у тебя правила обрабатываются, какое срабатывает ! -- ОП ТюменьЭнергоСпецРемонт Системный администратор Руссу В.Ф. e-mail: ruwa@psrp.te.ru phone: (3462)76-40-56
next prev parent reply other threads:[~2001-11-26 8:01 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-11-24 21:06 Gosha 2001-11-24 22:45 ` Gosha 2001-11-25 14:55 ` Michael Shigorin 2001-11-26 10:38 ` Gosha 2001-11-26 10:49 ` Re[2]: " Russu V.F. 2001-11-26 18:04 ` Gosha 2001-11-26 18:56 ` Michael Shigorin 2001-11-27 19:56 ` Gosha 2001-11-27 10:34 ` [mdk-re] Re[3]: " Vyt 2001-11-27 13:52 ` SilverFox 2001-11-27 19:55 ` Gosha 2001-11-27 19:55 ` Gosha 2001-11-27 21:42 ` SilverFox 2001-11-26 8:01 ` Russu V.F. [this message] 2001-11-26 18:28 ` Re[2]: [mdk-re] " Gosha
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=261726965465.20011126100917@psrp.te.ru \ --to=ruwa@psrp.te.ru \ --cc=mandrake-russian@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git