ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@lic145.kiev.ua>
To: mandrake-russian@altlinux.ru
Subject: [mdk-re] диалап-файрвол, в частности ToS
Date: Tue Oct 16 21:58:49 2001
Message-ID: <20011016204851.E1464@lic145.kiev.ua> (raw)
In-Reply-To: <200110160911.f9G9B5A92023@www2.mailru.com>

On Tue, Oct 16, 2001 at 01:11:05PM +0400, Roman S wrote:
> Я бы, кстати, вообще прикрыл бы доступ к SMTP и всему
> прочему ненужному снаружи...
Кстати, мне понравилось делать примерно так:
--- /etc/ppp/ip-up.local ---
/sbin/ipchains -A output -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 22:22 -p 6 -t 01 10
/sbin/ipchains -A output -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 21:21 -p 6 -t 01 10
/sbin/ipchains -A output -s 0.0.0.0/0.0.0.0 119:119 -d 0.0.0.0/0.0.0.0 -p 6 -t 01 08
/sbin/ipchains -A output -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 20:20 -p 6 -t 01 08
/sbin/ipchains -A output -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 110:110 -p 6 -t 01 08
/sbin/ipchains -A output -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 53:53 -p 17 -t 01 10

--- /etc/ppp/ip-up.local ---
/sbin/ipchains -F output

Комментарии -- собственно файрвол не нужен (я за маскарадом), а
все это -- ради ToS. Чтоб ssh быстро бегал, пока файло едет по
ftp ;)

Вдобавок в ip-up.local еше:
/sbin/ifconfig ppp0 txqueuelen 4

PS: ipchains -- последствия чтения man ipchains ||
IPCHAINS-HOWTO, "слюнок" от ToS и лени мигрировать на (тоже
скомпиленный) iptables ;)

-- 
WBR, Michael Shigorin -- webmaster at www.chem.univ.kiev.ua
>Home Page:  http://visa.chem.univ.kiev.ua/~mike/  ICQ: 113344029
>Brainbench: http://www.brainbench.com/transcript.jsp?pid=2434729



      parent reply	other threads:[~2001-10-16 21:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-16 13:06 [mdk-re] Re[2]: [mdk-re] ðÏÄÏÚÒÉÔÅÌØÎÙÅ ÓÏÏÂÝÅÎÉÑ Roman S
2001-10-16 14:18 ` [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] Подозрительные сообщения Kir
2001-10-16 14:24   ` cornet
2001-10-16 14:34     ` [mdk-re] Re[2]: " Kir
2001-10-16 14:43       ` [mdk-re] " Vyt
2001-10-16 15:03         ` Kir
2001-10-16 14:53       ` [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] " Antonio
2001-10-16 14:54       ` cornet
2001-10-16 21:58 ` Michael Shigorin [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=20011016204851.E1464@lic145.kiev.ua \
    --to=mike@lic145.kiev.ua \
    --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