ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: SKeeper <alt-skeeper@yandex.ru>
To: Vitalik Salomatin <chelroot74@mail.ru>,
	ALT Linux Community general discussions
	<community@lists.altlinux.org>
Subject: Re: [Comm] Как отменить проброшенный порт?
Date: Fri, 26 Sep 2008 09:20:20 +0400
Message-ID: <48DC7114.1090005@yandex.ru> (raw)
In-Reply-To: <E1Kj5he-000ODE-00.chelroot74-mail-ru@f53.mail.ru>

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



  reply	other threads:[~2008-09-26  5:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-26  5:17 Vitalik Salomatin
2008-09-26  5:20 ` SKeeper [this message]
2008-09-26  5:26 ` Костарев Алексей
2008-09-26  5:31 ` Костарев Алексей

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=48DC7114.1090005@yandex.ru \
    --to=alt-skeeper@yandex.ru \
    --cc=chelroot74@mail.ru \
    --cc=community@lists.altlinux.org \
    /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