Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2006 13:22:04 -0300
From:      "Renato Botelho" <rbgarga@gmail.com>
To:        freebsd-stable@FreeBSD.org
Subject:   Problems with pf + ftp-proxy on gateway
Message-ID:  <747dc8f30603280822g1a2996b8l3027fe3f1e9589ae@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I'm trying to use pf + ftp-proxy n a 6.1-PRERELEASE machine.

I have this line on inetd.conf:

ftp-proxy      stream  tcp     nowait  root    /usr/libexec/ftp-proxy=20
ftp-proxy -n

And this lines on pf.conf:

rdr on $int_if proto tcp from any to any port ftp -> 127.0.0.1 port ftp-pro=
xy
pass in quick on $ext_if inet proto tcp from any port ftp-data to
$ext_if:0 user proxy flags S/SA keep state

When one machine inside my network (e.g. 192.168.x.x) connects to an
external ftp server (e.g. ftp.FreeBSD.org), data connection doesn't
work.

Connection comes to my firewall and is accepted but connection is not
established and stay like this here:

self tcp 200.x.x.x:57625 <- 200.x.x.x:20       ESTABLISHED:FIN_WAIT_2

Any kind of help will be appreciate

thanks
--
Renato Botelho



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?747dc8f30603280822g1a2996b8l3027fe3f1e9589ae>