ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Ivanov Maxim <ivanov@amos.ru>
To: "community@altlinux.ru" <community@altlinux.ru>
Subject: [Comm] NAT & IPTables
Date: Fri, 12 Nov 2004 20:35:58 +0300
Message-ID: <535327696.20041112203558@amos.ru> (raw)

Здравствуйте, community.

Господа, крыша едет, помогите.

Есть сервер, на который по бедности напихали все:
Samba, BIND, DHCP, Squid, FTP, SSH, почта.
Две сетевухи. Стандартно: одна в инет, вторая внутрь.

на eth0 разрешены должны быть входы на порты:
21 22 25 53 80 110 3128

на eth1 разрешены должны быть входы на порты:
22 25

Поднимаю NAT (классика)
iptables -t nat -A POSTROUTING  -s <внутренний_диапазон_адресов> -o eth1
-j SNAT --to-source <внешний_адрес>

Наблюдаю  жуткие  тормоза  при  обращении  на  внутренний интерфейс по
любому порту.
Совершенно запутался в представлении куда чего открывать надо, с какой
стороны...

Что в таких случаях делают?
Что-то совсем я запутался...
________________
С уважением,
Максим Иванов



             reply	other threads:[~2004-11-12 17:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-12 17:35 Ivanov Maxim [this message]
2004-11-14 16:31 ` Grigory Fateyev
2004-11-15 10:11   ` Re[2]: " Ivanov Maxim
2004-11-15 15:09     ` [Comm] " Michael Shigorin
2004-11-15 15:50       ` Grigory Fateyev
2004-11-15 16:06         ` Andrey Rahmatullin
2004-11-15 17:19           ` Grigory Fateyev
2004-11-15 17:53             ` Andrey Rahmatullin

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=535327696.20041112203558@amos.ru \
    --to=ivanov@amos.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