From: Grigory Fateyev <greg@anastasia.ru>
To: community@altlinux.ru
Subject: Re: [Comm] NAT & IPTables
Date: Sun, 14 Nov 2004 19:31:33 +0300
Message-ID: <20041114193133.065d84d4@home.greg.com.ru> (raw)
In-Reply-To: <535327696.20041112203558@amos.ru>
Hello, Ivanov!
12 Ноября 2004г. в 20:35 You wrote:
> Здравствуйте, 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 <внешний_адрес>
>
> Наблюдаю жуткие тормоза при обращении на внутренний интерфейс по
> любому порту.
> Совершенно запутался в представлении куда чего открывать надо, с какой
> стороны...
>
> Что в таких случаях делают?
> Что-то совсем я запутался...
Опакетил для себя firehol 1.191 для ALT Linux. Очень легко поднять и
настроить firewall.
firehol.sf.net
Пакетом могу поделится.
--
Всего наилучшего!
greg@anastasia.ru Григорий.
next prev parent reply other threads:[~2004-11-14 16:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-12 17:35 Ivanov Maxim
2004-11-14 16:31 ` Grigory Fateyev [this message]
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=20041114193133.065d84d4@home.greg.com.ru \
--to=greg@anastasia.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