ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Mikhail Pokidko <solar@solar.net.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Прошу помочь с настройкой файерволла
Date: Tue, 19 Oct 2004 16:52:44 +0400
Message-ID: <200410191652.44508.solar@solar.net.ru> (raw)
In-Reply-To: <200410191434.05095.rassil@elterrus.org>

В сообщении от 19 Октябрь 2004 16:34 Igor Tertishny написал(a):
> Он ниже. Прошу подсказать как открыть порт 4661,
> например, чтобы сервер edonkey и не догадывался, что ним коннектит не мой
> сервер, а стоящий за ним клиент. Ведь если я ставлю осла на моем сервере,
> то все работает как положено. Но не держать же его на сервере? нонсенс ведь
$ less /etc/sysconfig/iptables
...
-A PREROUTING -p tcp -j DNAT -d $vneshniy_ip --dport 4662 --to-destination 
10.1.30.10:4662
...
это для одной единственной машинки "для качания" порт наружу вывесил.
Для всех машин, соответственно, диапазон
--to-destination ipaddr[-ipaddr][:port-port]
              which can specify a single new destination IP address, an inclu-
              sive range of IP addresses, and optionally, a port range  (which
              is  only valid if the rule also specifies -p tcp or -p udp).  If
              no port range is specified, then the destination port will never
              be modified.

  reply	other threads:[~2004-10-19 12:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-19 12:34 Igor Tertishny
2004-10-19 12:52 ` Mikhail Pokidko [this message]
2004-10-20 11:36   ` Igor Tertishny
2004-10-19 13:00 ` Myroslav M Rozum

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=200410191652.44508.solar@solar.net.ru \
    --to=solar@solar.net.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