ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: harlan <harlan@mail.ru>
To: community@altlinux.ru
Subject: Re: [Comm] iptables & ntp
Date: Wed, 28 Jul 2004 11:31:41 +0700
Message-ID: <20040728113141.413da51e.harlan@mail.ru> (raw)
In-Reply-To: <20040728111613.654c7bfa.harlan@mail.ru>

> Попробуй команду
> 
> #iptables -t nat POSTROUTING -o $external_if -p udp --dport 123 -j SNAT --to-source $external_ip
> 

Сорри, сам лоханулся.
# iptables -t nat -I POSTROUTING 1 -o $external_if -s $local_net -p udp --destination-port 123 -j SNAT --to-source $external_ip

$local_net - адрес локальной сети
$external_ip - адрес внешнего интерфейса.


  reply	other threads:[~2004-07-28  4:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-27  5:17 Дворников Михаил
2004-07-27  5:32 ` Mike Lykov
2004-07-27  5:42   ` [Comm] AverTV 305/ 307 на ядрах 2 .6 Anthony
2004-07-27  6:03     ` [Comm] Кто прожжёный гуру по вёрстке DVD ? Anthony
2004-07-27  6:12     ` [Comm] AverTV 305/ 307 на ядрах 2 .6 Andrey Rahmatullin
2004-07-27  6:14   ` [Comm] iptables & ntp Дворников Михаил
2004-07-27  6:26     ` Mike Lykov
2004-07-27  7:49 ` Dmitry Belyayev
2004-07-27  9:46 ` Alexey Borovskoy
2004-07-28  3:42   ` Mike Lykov
2004-07-28  4:16     ` harlan
2004-07-28  4:31       ` harlan [this message]
2004-07-28  4:28     ` Alexey Borovskoy
2004-07-28  4:53       ` Дворников Михаил

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=20040728113141.413da51e.harlan@mail.ru \
    --to=harlan@mail.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