ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Sergey S. Skulachenko" <sssku@online.ru>
To: mandrake-russian@altlinux.ru
Subject: [mdk-re] Re: ipchains
Date: Thu Oct 18 13:49:12 2001
Message-ID: <20011018135033.7a988c60.sssku@online.ru> (raw)
In-Reply-To: <5963637115.20011017102036@podlipki.ru>

On Wed, 17 Oct 2001 10:20:36 +0300
Герасимов Д.С. <matrix@podlipki.ru> wrote:

> а зачем? я так понял, Вы хотите чтобы все запросы приходящие на
> Линукс
> по http (https) шли через squid без указания сего в браузерах
> юзеров?
> воспользуйтесь ipchains
> например сделать можно так

> ipchains -A input -i $intint -p tcp -s $intnet -d 0/0 80 -j
> REDIRECT 3128
> ipchains -A input -i $intint -p tcp -s $intnet -d 0/0 8080 -j
> REDIRECT 3128                                                
> ipchains -A input -i $intint -p tcp -s $intnet -d 0/0 8081 -j
> REDIRECT 3128                                                
> ipchains -A input -i $intint -p tcp -s $intnet -d 0/0 8101 -j
> REDIRECT 3128    

> где $intint - внутренний интерфейс (eth1)
> а   $intnet - соответственно внутренняя сеть (192.168.0.0/24)

Который раз хочу понять и не могу, а почему это всё работает для
клиентских машин и не работает для пользователя, который работает
на машине, являющейся шлюзом? Это меня чисто теоретически
интересует, так как избавить себя от случайного доступа к
ненужным ресурсам я могу прямым указанием прокси на этой машине.
____________
С уважением,
С.С.Скулаченко



  reply	other threads:[~2001-10-18 13:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-17 10:17 [mdk-re] (no subject) Герасимов Д.С.
2001-10-18 13:49 ` Sergey S. Skulachenko [this message]
2001-10-18 14:17   ` [mdk-re] Re: ipchains Dmitry V. Levin
2001-10-19  6:44   ` Vlad Drakula

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=20011018135033.7a988c60.sssku@online.ru \
    --to=sssku@online.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