ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Igor Homyakov" <homyakov@ramax.spb.ru>
To: <mandrake-russian@altlinux.ru>
Subject: [mdk-re] Настройка portfw
Date: Tue Sep 18 01:06:10 2001
Message-ID: <029001c13fbd$3b184660$4901040a@homyakov> (raw)

Привет !

Есть такой rc.firewall:

echo "1" > /proc/sys/net/ipv4/ip_forward
echo "1" > /proc/sys/net/ipv4/ip_always_defrag

ipmasqadm portfw -f
ipmasqadm portfw -a -P tcp -L x.x.x.x 23 -R 10.4.3.220 23

ipchains -F

ipchains -P input   ACCEPT
ipchains -P output  ACCEPT
ipchains -P forward DENY

ipchains -A forward -i eth0 -s 10.4.0.0/16 -j MASQ

и ничего не работает, tcpdump показывает только входящие
SYN на eth0, ответов нет.

Что я делаю не так ? Как можно посмореть что происходит с
ip пакетами ?

P.S.
    2.4 не предлагать, надо сделать именно на 2.2

--
Igor Homyakov                            RAMAX International
System Administrator         Banking Technologies Department
<homyakov(at)ramax.spb.ru>              http://www.ramax.com





                 reply	other threads:[~2001-09-18  1:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='029001c13fbd$3b184660$4901040a@homyakov' \
    --to=homyakov@ramax.spb.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