ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Oleg Shulga <oleg@pribor.kharkov.ua>
To: community@altlinux.ru
Subject: Re: [Comm] проблема с snat в iptables
Date: Thu, 06 Jan 2005 10:54:20 +0200
Message-ID: <41DCFCBC.3000400@pribor.kharkov.ua> (raw)
In-Reply-To: <41DC4818.5000407@list.ru>

Алексей Данилович пишет:

> Алексей Данилович пишет:
>
>> Доброго времени суток.
>> На строку
>> iptables -t nat -A POSTROUTING -o $EXT -j SNAT --to-source $EXT_IP
>> говорит, что unknown arg '--to-source'
>>
>> В чем дело? Подскажите, очень нужно. Спасибо.
>>
>> ЗЫ: modprobe iptable_nat присутствует.
>
>

Попробую предположить, что $EXT_IP имеет пустое значение
И вопрос. Эта "строка", на которую "говорит, что unknown arg 
'--to-source' ", где находится?
Варианты
  1) в скрипте
  2) в коммандной строке
  3) другое.

> Так никто ничего и не сказал... Обидно. Однако сам уже разобрался. 
> Ситуация интересная.

Так и непонятно, в чем разобрался.
У меня на подобную строку никто не говорит. :^)

iptables -t nat -A POSTROUTING -o $EXTERNAL_INTERFACE \
         -j SNAT --to-source $IPADDR


-- 
WBR
Oleg Shulga, Kharkov Pribor, IT Manager




  parent reply	other threads:[~2005-01-06  8:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-04 22:40 Алексей Данилович
2005-01-05 20:03 ` Алексей Данилович
2005-01-06  5:25   ` Dmitry Ananjev
2005-01-06  8:01     ` Алексей Данилович
2005-01-06  8:54   ` Oleg Shulga [this message]
2005-01-06 20:13     ` Алексей Данилович
2005-01-10  9:15       ` Oleg Shulga

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=41DCFCBC.3000400@pribor.kharkov.ua \
    --to=oleg@pribor.kharkov.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