From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.2.5 X-Yandex-Spam: 1 X-Yandex-Front: smtp15 X-Yandex-TimeMark: 1222406580 X-MsgDayCount: 2 X-Comment: RFC 2476 MSA function at smtp15.yandex.ru logged sender identity as: alt-skeeper Message-ID: <48DC7114.1090005@yandex.ru> Date: Fri, 26 Sep 2008 09:20:20 +0400 From: SKeeper User-Agent: Thunderbird 2.0.0.6 (X11/20070804) MIME-Version: 1.0 To: Vitalik Salomatin , ALT Linux Community general discussions References: In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Comm] =?koi8-r?b?68HLIM/UzcXOydTYINDSz8LSz9vFzs7ZyiDQz9LUPw==?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2008 05:23:10 -0000 Archived-At: List-Archive: List-Post: Vitalik Salomatin пишет: > Допустим я пробросил 80 порт снаружи через сервер на копм внутри > сети > iptables -t nat -A PREROUTING -d 11.11.11.61 -p > tcp --destination-port 80 -j DNAT --to-destination 10.0.0.112 > > А как отменить только это правило? (http) > > Переписываете все правило, но -A заменяете на -D и удалится только оно iptables -t nat -D PREROUTING -d 11.11.11.61 -p tcp --destination-port 80 -j DNAT --to-destination 10.0.0.112