ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Yuri Hramov <hramov@k-technology.ru>
To: community@altlinux.ru
Subject: Re: Re[2]: [Comm] NAT
Date: Fri, 6 Jun 2003 15:40:35 +0400
Message-ID: <200306061540.36034.hramov@k-technology.ru> (raw)
In-Reply-To: <8024413953.20030606143707@toltc.samen.elektra.ru>

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 554 bytes --]

В сообщении от 6 Июнь 2003 13:37 Кочетков Владимир написал:

Пардоньте, в предыдущем письме взглючил.

> Порядок такой:
> $IPTABLES -t nat -A POSTROUTING -s 192.168.1.12 -o eth0 -j SNAT --to-source
> xxx.xxx.xxx.12 

Обрабатываем пришедшее с eth0 и адресом 192.168.1.12

> $IPTABLES -t nat -A POSTROUTING -o eth0 -j SNAT --to-source
> xxx.xxx.xxx.7

Обрабатываем ВСЕ, пришедшее с eth0

Попробуйте в последнее правило добавить -s ! xxx.xxx.xxx.12


-- 
С уважением,
Юрий Храмов
Заместитель генерального директора
ООО K-Технологии (Технологии знания) 

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2003-06-06 11:40 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-05  8:05 Кочетков Владимир
2003-06-05 11:32 ` Mike Lykov
2003-06-05 11:45 ` Andriy Dobrovol's'kii
2003-06-06  7:02   ` Re[2]: " Кочетков Владимир
2003-06-06  7:11     ` Владимир
2003-06-06  7:42       ` Konstantin V. Gaidukov
2003-06-06  8:26         ` Andriy Dobrovol's'kii
2003-06-06  8:31       ` [Comm] squid & wb_ntlmauth troubles Konstantin V. Gaidukov
2003-06-06  9:37       ` Re[2]: [Comm] NAT Кочетков Владимир
2003-06-06 10:34         ` Alexander Simernin
2003-06-06 11:04         ` Владимир
2003-06-09  6:18           ` Re[2]: " Кочетков Владимир
2003-06-09  7:35             ` Andriy Dobrovol's'kii
2003-06-09  8:11               ` Re[2]: " Кочетков Владимир
2003-06-09  9:00                 ` Andriy Dobrovol's'kii
2003-06-09  9:32                   ` Re[2]: " Кочетков Владимир
2003-06-09  9:49                     ` Andriy Dobrovol's'kii
2003-06-09 10:11                       ` Re[2]: " Кочетков Владимир
2003-06-09 10:38                         ` Andriy Dobrovol's'kii
2003-06-10  6:01                         ` Alexander Vasiliev
2003-06-09 10:14                 ` Re[2]: " Yuri Hramov
2003-06-06 11:08         ` Konstantin V. Gaidukov
2003-06-06 11:36         ` Re[2]: " Yuri Hramov
2003-06-06 11:40         ` Yuri Hramov [this message]
2003-06-07 11:46           ` Igor Solovyov
2003-06-09  6:19           ` Re[4]: " Кочетков Владимир
2003-06-09  9:45             ` Yuri Hramov

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=200306061540.36034.hramov@k-technology.ru \
    --to=hramov@k-technology.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