From: isa <iscander@mercuri.mk.ua> To: Vitaly Ostanin <community@altlinux.ru> Subject: Re: [Comm] Re: squid, etc. Date: Thu, 17 Apr 2003 15:55:20 +0300 Message-ID: <12213521522.20030417155520@mercuri.mk.ua> (raw) In-Reply-To: <20030417154356.7dc1fbe3.vyt@vzljot.ru> VO> Лучше вписать не где-нибудь, а сохранять правила командой VO> service iptables save. VO> В iptables-tutorial рассматриваются два варианта хранения правил VO> - с помощью скриптов iptables-save/iptables-restore, или с VO> помощью отдельного shell-скрипта, запускающего iptables для VO> каждого правила. IMHO, лучше эти варианты комбинировать. Возможно вы правы и у вас больше опыта. Прочитав тот тьюториал на который вы ссылаетесь(я не вспомнил ссылки) я понял так что, принципиальная разница в том что из скрипта правила загружаються поочередно, а iptables-restore загрузит их все сразу. А так же то что в случае маскарада всё же лучше их не использовать так как мы не всегда знаем свой реальный IP >> # iptables -t nat -A POSTROUTING -s 192.168.1/24 -j MASQUERADE VO> Для маскарадинга на шлюзе с реальным ip-адресом лучше VO> использовать SNAT. В сети есть перевод iptables-tutorial-1.1.16 VO> на русский язык, очень рекомендую: VO> http://gazette.linux.ru.net/rus/articles/index-iptables-tutorial.html Я использую как раз маскарад, так как сижу на диалапе с динамической раздачей (на самом деле частый случай, как для домашних сетей) Тютор вчера читал весь день :-) классный! >> # echo "1" > /proc/sys/net/ipv4/ip_forward >> >> в принципе DNS можете не поднимать, а указать DNS провайдера - >> будет работать. И icq, и irq - тоже. На клиентских машинах VO> Будет работать заведомо медленнее, кеширующий dns на шлюзе нужен. Не сильно заметил правда и пригрузит реально не чем было. Поверю вам на слово. Спасибо за ваши замечания. Думаю они окажутся полезными им не и Flach <flach@mcnet.ru>, начавшему эту тему. -- С уважением, isa mailto:iscander@mercuri.mk.ua
next prev parent reply other threads:[~2003-04-17 12:55 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 ` [Comm] " Vitaly Ostanin 2003-04-17 12:55 ` isa [this message] 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=12213521522.20030417155520@mercuri.mk.ua \ --to=iscander@mercuri.mk.ua \ --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