"Alberich de megres" <alberich2k5@gmail.com> writes:
your nat rule looks a bit strange, I have
nat on $ext_if from $int_if:network to any -> ($ext_if) static-port
The ftp related rules I have are essentially pasted from the ftp-proxy
man page, yours differ somewhat.
I have
# [...]
nat-anchor "ftp-proxy/*"
rdr-anchor "ftp-proxy/*"
# [...]
rdr pass on $int_if proto tcp from $lan to any port ftp -> 127.0.0.1 port 8021
# [...]
anchor "ftp-proxy/*"
pass out proto tcp from $proxy to any port ftp
I don't want to appear rude, but there are the ftp-proxy man pages,
the PF faq and a certain tutorial out there at least. A bit odd if
you couln't find any info.
Hope this helps,
--
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/http://www.datadok.no/http://www.nuug.no/
"First, we kill all the spammers" The Usenet Bard, "Twice-forwarded tales"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.