ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Polovnikov Denis <altlinux@lg-support.ru>
To: Alexey Morsov <community@altlinux.ru>
Subject: Re[2]: [Comm] iptables
Date: Tue, 6 Apr 2004 17:35:01 +0400
Message-ID: <1673404065.20040406173501@lg-support.ru> (raw)
In-Reply-To: <40729ACF.5080902@ricom.ru>

Здравствуйте, Alexey.

Вы писали 6 апреля 2004 г., 15:55:59:



AM> Polovnikov Denis wrote:

>> привет всем,
>> 
>> поделитесь плиз конфигом для iptables с настроеным натом, или дайте
>> ссылку на хороший мануал на русском. А то чего-то по не получается
>> настроить :-(
Вот что у меня щас . И нефига нат не работает.
eth0 это локалка
eth1 это инет.

*mangle
:PREROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
#-A PREROUTING -p tcp --dport 22 -j TOS --set-tos 0x10
COMMIT
*filter
:FORWARD ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:net - [0:0]
COMMIT

*nat
:PREROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
-A POSTROUTING -s 192.168.12.0/24 -o eth1 -j SNAT --to-source 195.124.1.1
COMMIT




-- 
С уважением,
 Polovnikov                          mailto:altlinux@lg-support.ru



  reply	other threads:[~2004-04-06 13:35 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-06  9:01 Polovnikov Denis
2004-04-06  9:01 ` Nikita Semenov
2004-04-06  9:09   ` Gennadiy Redko
2004-04-06 11:55 ` Alexey Morsov
2004-04-06 13:35   ` Polovnikov Denis [this message]
2004-04-06 13:56     ` Alexey Morsov
2004-04-07  4:24     ` Re[2]: " Mike Lykov
2004-04-07  9:22       ` Re[4]: " Polovnikov Denis
2004-04-07 10:20       ` Polovnikov Denis
2004-04-07 10:29         ` Mike Lykov
2004-04-07 10:36           ` Alexey Morsov
2004-04-07 10:55         ` Re[5]: " Nikita Semenov
2004-04-08  5:55           ` Re[6]: " Polovnikov Denis
2004-04-08  6:21             ` Re[7]: " Nikita Semenov
2004-04-08  9:57               ` Re[8]: " Polovnikov Denis
2004-04-08 11:15                 ` Alexey Morsov
2004-04-08 12:38                   ` Re[2]: " Polovnikov Denis
2004-04-08 12:46                     ` Alexey Morsov
2004-04-08 15:40                       ` Roman Savochenko
2004-04-09  3:38                         ` Mike Lykov
2004-05-06  9:09                         ` Alexey Morsov

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=1673404065.20040406173501@lg-support.ru \
    --to=altlinux@lg-support.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