From: Vitaly Ostanin <vyt@vzljot.ru> To: community@altlinux.ru Subject: [Comm] Re: squid, etc. Date: Thu, 17 Apr 2003 15:43:56 +0400 Message-ID: <20030417154356.7dc1fbe3.vyt@vzljot.ru> (raw) In-Reply-To: <1366125387.20030417135204@mercuri.mk.ua> [-- Attachment #1: Type: text/plain, Size: 1799 bytes --] On Thu, 17 Apr 2003 13:52:04 +0300 isa <iscander@mercuri.mk.ua> wrote: > Да действительно вам squid позволит кешировать http,ftp > (возможно и другие?) виды трафика. Работает он как полноценный > прокси сервер. Таким образом вам не потребуется поднимать у > себя на шлюзе DNS. В простейшем случае (squid даёт некоторую > задержку для ответа клиентам) вам достаточно поднять на машине > bind - при инсталяции он ставиться как кеширующий DNS - > сервер, или ещё лучше pqdns - тоже кеширующий DNS сервер,но с > кешем хранимым на диске. Последний я собрал,но пока не > прикручивал, может мантейнеры дадут болеее дельный совет о > нем. И разрешить на своей шлюзовой машине маскардинг. > Подробнее об этом в ip-tables tutorial. То есть где нибудь в > стартовых скриптах впишите следующее(подправьте под свою сеть) Лучше вписать не где-нибудь, а сохранять правила командой service iptables save. В iptables-tutorial рассматриваются два варианта хранения правил - с помощью скриптов iptables-save/iptables-restore, или с помощью отдельного shell-скрипта, запускающего iptables для каждого правила. IMHO, лучше эти варианты комбинировать. > # iptables -t nat -A POSTROUTING -s 192.168.1/24 -j MASQUERADE Для маскарадинга на шлюзе с реальным ip-адресом лучше использовать SNAT. В сети есть перевод iptables-tutorial-1.1.16 на русский язык, очень рекомендую: http://gazette.linux.ru.net/rus/articles/index-iptables-tutorial.html > # echo "1" > /proc/sys/net/ipv4/ip_forward > > в принципе DNS можете не поднимать, а указать DNS провайдера - > будет работать. И icq, и irq - тоже. На клиентских машинах Будет работать заведомо медленнее, кеширующий dns на шлюзе нужен. <skipped/> -- Regards, Vyt mailto: vyt@vzljot.ru JID: vyt@vzljot.ru [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-04-17 11:43 UTC|newest] Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-04-17 9:14 [Comm] " Flach 2003-04-17 9:48 ` Maxim.Savrilov 2003-04-17 9:49 ` Mikhael Korneev 2003-04-17 10:39 ` vic ismakaev 2003-04-17 11:06 ` Mike Lykov 2003-04-17 11:50 ` vic ismakaev 2003-04-17 10:52 ` isa 2003-04-17 11:43 ` Vitaly Ostanin [this message] 2003-04-17 12:55 ` [Comm] " isa 2003-04-17 13:36 ` Vitaly Ostanin 2003-04-17 12:52 ` [Comm] " Igor Solovyov 2003-04-17 13:32 ` [Comm] " Vitaly Ostanin 2003-04-17 13:39 ` Igor Solovyov 2003-04-17 13:46 ` Maxim Tyurin 2003-04-17 13:54 ` Igor Solovyov 2003-04-17 14:04 ` Vitaly Ostanin 2003-04-17 14:07 ` Maxim Tyurin 2003-04-17 14:39 ` vic ismakaev 2003-04-17 13:56 ` Vitaly Ostanin 2003-04-17 13:55 ` Vitaly Ostanin 2003-04-18 8:41 ` [Comm] " Flach
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=20030417154356.7dc1fbe3.vyt@vzljot.ru \ --to=vyt@vzljot.ru \ --cc=community@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