From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 28 Jul 2004 11:31:41 +0700 From: harlan To: community@altlinux.ru Subject: Re: [Comm] iptables & ntp Message-Id: <20040728113141.413da51e.harlan@mail.ru> In-Reply-To: <20040728111613.654c7bfa.harlan@mail.ru> References: <4105E571.3000404@soc.adm.yar.ru> <200407272247.01069.alexey_borovskoy@mail.ru> <200407280842.28560.combr@vesna.ru> <20040728111613.654c7bfa.harlan@mail.ru> X-Mailer: Sylpheed version 0.8.8 (GTK+ 1.2.10; i586-alt-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-Spam: Not detected X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2004 04:31:25 -0000 Archived-At: List-Archive: List-Post: > Попробуй команду > > #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 - адрес внешнего интерфейса.