ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [mdk-re] Настройка portfw
@ 2001-09-18  1:06 Igor Homyakov
  0 siblings, 0 replies; only message in thread
From: Igor Homyakov @ 2001-09-18  1:06 UTC (permalink / raw)
  To: mandrake-russian

Привет !

Есть такой 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





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-09-18  1:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-18  1:06 [mdk-re] Настройка portfw Igor Homyakov

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