From: Vitaly Lipatov <LAV@VL3143.spb.edu>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Re: [sisyphus] Настройка элементарного маскарада
Date: Sun, 10 Mar 2002 01:26:12 +0300
Message-ID: <20020309222612.EF1745BB6F@VL3143.spb.edu> (raw)
In-Reply-To: <3C8A5440.713483A8@altlinux.ru>
On 9 March 2002 21:28, cornet wrote:
> Вот, ловите, проще некуда. Маскарадит все из внутренней сети
> 192.168.9.0 наружу.
>
> Есть еще тулза gfcc но она через ipchains работает так что не
> забудьте перед употреблением сделать
> modprobe ipchains
> если конечно у Вас ядро 2.4.X, если 2.2.X и так заработает.
Хотелось бы iptables. Я вот думаю, может нельзя иметь сетевой
адрес 192.168.0.1? Может 0 это что-то запрещённое? Мне так drakconf
сделал...
Я так понимаю, вот главные строки:
/sbin/iptables -A FORWARD -s 192.168.0.1/24 -j ACCEPT
/sbin/iptables -t nat -A POSTROUTING -j MASQUERADE
--
Lav
Виталий Липатов
ФГУП "ЦНИИ Судовой Электротехники и Технологии", Санкт-Петербург
GNU! Linux! LaTeX! LyX!
next prev parent reply other threads:[~2002-03-09 22:26 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-09 13:48 Vitaly Lipatov
2002-03-09 17:43 ` [sisyphus] " Aleksandr Blohin
2002-03-09 19:51 ` Vitaly Lipatov
2002-03-09 20:00 ` [sisyphus] " Aleksandr Blohin
2002-03-09 21:34 ` Vitaly Lipatov
2002-03-10 11:18 ` [sisyphus] " Aleksandr Blohin
2002-03-10 15:55 ` Vitaly Lipatov
2002-03-10 12:07 ` [sisyphus] " Michael Shigorin
2002-03-10 12:27 ` [sisyphus] " Aleksandr Blohin
2002-03-09 18:28 ` [sisyphus] Re: [sisyphus] " cornet
2002-03-09 22:26 ` Vitaly Lipatov [this message]
2002-03-10 10:43 ` Любимов А.В.
2002-03-10 11:20 ` cornet
2002-03-10 15:59 ` [sisyphus] Re: [sisyphus] Настройка элементарногомаскарада Vitaly Lipatov
2002-03-10 16:31 ` cornet
2002-03-10 18:00 ` [sisyphus] Re: [sisyphus] Настройка элементарного маскарада Valek Filippov
2002-03-10 18:43 ` cornet
2002-03-09 21:21 ` Valery
2002-03-10 15:56 ` Vitaly Lipatov
2002-03-10 16:20 ` Valery
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=20020309222612.EF1745BB6F@VL3143.spb.edu \
--to=lav@vl3143.spb.edu \
--cc=sisyphus@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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git