From: "Андрей Черепанов" <cas@altlinux.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] Информика 6.0 Школьный : как работает squid?
Date: Fri, 12 Jul 2013 10:49:42 +0400
Message-ID: <51DFA706.4050705@altlinux.ru> (raw)
In-Reply-To: <1373608975.695876.24149.19390@saddam1.rambler.ru>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
12.07.2013 10:02, Sergei Naumov пишет:
> Добрый день,
>
> попросили меня поставить 6.0 Школьный. Накатил, завел, поднял два
> интерфейса (один наружу eth0, другой вовнутрь eth1). Попробовал
> воспользоваться вебовской конфигурилкой для настройки Squid.
> Поставил галку "включить прокси", но почему-то в табличках iptables
> ничего не меняется:
>
> [root@owl118 sysconfig]# iptables -S -P INPUT ACCEPT -P FORWARD
> ACCEPT -P OUTPUT ACCEPT -A INPUT -f -j DROP -A INPUT -m state
> --state RELATED,ESTABLISHED -j ACCEPT -A INPUT -j ULOG
> --ulog-prefix "icount" --ulog-cprange 48 --ulog-qthreshold 50 -A
> INPUT -i eth0 -p icmp -j ACCEPT -A INPUT -i eth0 -j DROP -A FORWARD
> -f -j DROP -A FORWARD -m state --state RELATED,ESTABLISHED -j
> ACCEPT -A FORWARD -j ULOG --ulog-prefix "fcount" --ulog-cprange 48
> --ulog-qthreshold 50 -A FORWARD -d 10.74.4.0/27 -i eth0 -j ACCEPT
> -A FORWARD -m physdev --physdev-is-bridged -j ACCEPT -A FORWARD -i
> eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT -A FORWARD -i
> eth0 -j DROP -A OUTPUT -f -j DROP -A OUTPUT -m state --state
> RELATED,ESTABLISHED -j ACCEPT -A OUTPUT -j ULOG --ulog-prefix
> "ocount" --ulog-cprange 48 --ulog-qthreshold 50
>
> При этом, squid работает, правда почему-то блокирует 443 порт.
> Вопросы:
>
> 1. почему в iptables нет форвардов на 3128?
>
> 2. где вообще узнать, как работают все эти службы в "Школьном"?
Одним из подводных камней в alterator-squid является дописывание
обслуживаемых сетей вручную. Поэтому нужно:
а) прописать сеть с маской в "Разрешённые сети"
б) порты проверить в соотвествующем разделе
в) выбрать режим, включить службу.
- --
Андрей Черепанов
ALT Linux
cas@altlinux.ru
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
iEYEARECAAYFAlHfpwYACgkQSGPA9Knr8TEgjwCfaeOu/jEgonnwnVw3ThFFPnSJ
gVsAn12Bre3BWoInjeEfayyCzpFIZuiX
=hCYv
-----END PGP SIGNATURE-----
next parent reply other threads:[~2013-07-12 6:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-12 6:49 ` Андрей Черепанов [this message]
2013-07-12 7:53 ` Sergei Naumov
2013-07-12 8:53 ` Viacheslav Dubrovskyi
2013-07-12 9:47 ` Андрей Черепанов
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=51DFA706.4050705@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