From: "Андрей Черепанов" <cas@altlinux.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] Информика 6.0 Школьный : как работает squid?
Date: Fri, 12 Jul 2013 13:47:10 +0400
Message-ID: <51DFD09E.9070704@altlinux.ru> (raw)
In-Reply-To: <1373615604.676263.27701.48343@saddam1.rambler.ru>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
12.07.2013 11:53, Sergei Naumov пишет:
>
>
>>> 1. почему в iptables нет форвардов на 3128? 2. где вообще
>>> узнать, как работают все эти службы в "Школьном"?
>>
>> Одним из подводных камней в alterator-squid является
>> дописывание обслуживаемых сетей вручную. Поэтому нужно: а)
>> прописать сеть с маской в "Разрешённые сети" б) порты проверить
>> в соотвествующем разделе в) выбрать режим, включить службу.
>
> А у меня в разделе указана внутренняя сетка. И служба включена, и
> squid работает. Но в iptables ничего нет! Правда, я не упомнил,
> смотрел я "iptables -L" когда прокся была в прозрачном режиме или в
> обычном. Я ведь правильно понимаю, что в обычном режиме записи в
> iptables не должны появиться?
Скажу так: в обычном режиме прокси-сервера при включенном NAT для
внешнего интерфейса должен быть такой вывод:
# iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- anywhere anywhere
- --
Андрей Черепанов
ALT Linux
cas@altlinux.ru
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
iEYEARECAAYFAlHf0J4ACgkQSGPA9Knr8THjSgCfRgQNTw90BxlrV4xhMYQi7USW
31oAoIeJkCbuHDOEEl3AA7tV5iCetVfh
=uT5C
-----END PGP SIGNATURE-----
prev parent reply other threads:[~2013-07-12 9:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-12 6:49 ` Андрей Черепанов
2013-07-12 7:53 ` Sergei Naumov
2013-07-12 8:53 ` Viacheslav Dubrovskyi
2013-07-12 9:47 ` Андрей Черепанов [this message]
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=51DFD09E.9070704@altlinux.ru \
--to=cas@altlinux.ru \
--cc=community@lists.altlinux.org \
/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