ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Вадим Илларионов" <master@usib.irkps.ru>
To: community@altlinux.ru
Subject: Re: [Comm] frox
Date: Fri, 24 Jun 2005 12:27:24 +0900
Message-ID: <200506241227.24797.master@usib.irkps.ru> (raw)
In-Reply-To: <200506241221.24093.master@usib.irkps.ru>

Остаётся прикрутить редирект на фросю. Например, так:

$ grep Frox rc.local
Frox=2121
$FILTER -t nat -R PREROUTING 3  -i $PostalIF    -s $Postal      -d ! $Postal    
-p tcp --dport ftp -j REDIRECT --to $Frox >/dev/null 2>&1 ||
$FILTER -t nat -A PREROUTING    -i $PostalIF    -s $Postal      -d ! $Postal    
-p tcp --dport ftp -j REDIRECT --to $Frox
$FILTER -t nat -R PREROUTING 4  -i $PKDIF               -s $PKD                                         
-p tcp --dport ftp -j REDIRECT --to $Frox >/dev/null 2>&1 ||
$FILTER -t nat -A PREROUTING    -i $PKDIF               -s $PKD                                         
-p tcp --dport ftp -j REDIRECT --to $Frox

Пропущенные здесь правила 1 и 2 - то же самое, но для заворота веб-трафика на 
сквид.
________________________
С уважением,
Вадим Илларионов
системный администратор
Усолье-Сибирский почтамт
JID: см. <mailto:>
UIN: 7899517
Телефоны:
Мобильный +7 904 658 41 54
Рабочий   +7 395 43 444 00


      reply	other threads:[~2005-06-24  3:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-18 15:09 Andrey Rybak
2005-06-21  9:02 ` Вадим Илларионов
2005-06-21  9:05   ` Вадим Илларионов
2005-06-22 17:14   ` Andrey Rybak
2005-06-24  3:21     ` Вадим Илларионов
2005-06-24  3:27       ` Вадим Илларионов [this message]

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=200506241227.24797.master@usib.irkps.ru \
    --to=master@usib.irkps.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