ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Yuri Ryazantsev <yuri@unix.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] éÎÔÅÒÎÅÔÚÁÝÉÔÁ
Date: Mon May 14 23:53:01 2001
Message-ID: <20010514235756.C27592@mail.unix.ru> (raw)
In-Reply-To: <01051422233704.07348@pif.b5.mephi.ru>; from serpiph@pochtamt.ru on Mon, May 14, 2001 at 10:23:37PM +0400

On Mon, May 14, 2001 at 10:23:37PM +0400, Sergei wrote:

> У firewall есть 3 цепочки по умолчанию:
> input - туда пакет попадает при приходе на твою машину
> forward - при передаче пакета с одного сетевого интерфейса на другой на твоей 
> 	машине.
> output  - при передаче пакета от твоей машины
> Можно определить свои цепочки.
> У каждой цепочки есть действие по умолчанию (ACCEPT, REJECT, DENY)
> Если пакет движется так:
> ---->eth0--->|твоя машина|--->eth1--->
> то проходишь через все три цепочки по-очереди.

Помогите решить следующую задачу (я ее решил, но очень криво):
local network---->eth0--->|firewall|--->eth1--->Internet

Для простоты маскарадинга нет и в локальной сети реальные IP.
Хочется чтобы из Инета доступ к ssh был к любой машине в локальной сети
кроме firewall. А на нее доступ по ssh только с определенной машины из
локальной сети. При этом неразрешенные доступы были бы с возвратом ICMP no
route to host (REJECT в ipchains). Понятна проблема: при forward пакетов
проходится и цепочка input.

with best wishes,

Yuri.




  reply	other threads:[~2001-05-14 23:53 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-14 20:13 [mdk-re] Интернет защита Lorry
2001-05-14 22:10 ` [mdk-re] Интернетзащита Sergei
2001-05-14 23:53   ` Yuri Ryazantsev [this message]
2001-05-15  9:23     ` Maxim Savrilov
2001-05-15 21:14       ` Igor Solovyov
2001-05-15 23:00         ` [mdk-re] éÎÔÅÒÎÅÔÚÁÝÉÔÁ Yuri Ryazantsev
2001-05-16  9:21           ` [mdk-re] Интернетзащита Maxim Savrilov
2001-05-16 22:43           ` Igor Solovyov
2001-05-15 22:27       ` Sergei
2001-05-15  0:53   ` Lorry
2001-05-15  1:35     ` [mdk-re] éÎÔÅÒÎÅÔÚÁÝÉÔÁ Yuri Ryazantsev
2001-05-15 10:42 ` [mdk-re] Интернет защита cornet
2001-05-15 22:28   ` [mdk-re] Интернетзащита Sergei
2001-05-18  9:09 ` [mdk-re] Интернет защита Michael Shigorin
2001-05-18 11:14   ` Vyt

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=20010514235756.C27592@mail.unix.ru \
    --to=yuri@unix.ru \
    --cc=mandrake-russian@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