Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 2003 12:26:51 +0300
From:      =?koi8-r?Q?=22?=al vanyushenkov=?koi8-r?Q?=22=20?= <vanyushenkov@mail.ru>
To:        freebsd-ipfw@freebsd.org
Subject:   ftp access
Message-ID:  <E1AbG9L-000Esg-00.vanyushenkov-mail-ru@f12.mail.ru>

next in thread | raw e-mail | index | archive | help
HI all!

I use FreeBSD 4.8 with ipfw2

I have ipfw rules

...
check-state
...
allow udp from me to any 21 keep-state out via rl0
allow tcp from me to any 21 setup keep-state out via rl0
deny all from any to any

rl0 is my internet interface.

When i tried to use ftp i connected, ls successfully,
but when i tried to get or put files i got records in ipfw.log
deny tcp x.x.x.x:20 y.y.y.y:z

where x.x.x.x is remote ip address
y.y.y.y is my ip address

Does anybody know what rules should i add to allow tcp connections from me
and deny all connections from outside to me.

Thanks
vanyushenkov alexey
adm@ruskhleb.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1AbG9L-000Esg-00.vanyushenkov-mail-ru>