Re: FTP proxy

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter N. M. Hansteen
Subject: Re: FTP proxy
Date: Friday, May 25, 2007 - 3:54 am

"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.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
FTP proxy, Alberich de megres, (Fri May 25, 2:33 am)
Re: FTP proxy, Peter N. M. Hansteen, (Fri May 25, 2:46 am)
Re: FTP proxy, Alberich de megres, (Fri May 25, 3:42 am)
Re: FTP proxy, Peter N. M. Hansteen, (Fri May 25, 3:54 am)
Re: FTP proxy, Alberich de megres, (Fri May 25, 4:30 am)
Re: FTP proxy, Peter N. M. Hansteen, (Fri May 25, 4:41 am)
Re: FTP proxy, Alberich de megres, (Fri May 25, 4:51 am)
Re: FTP proxy, Peter N. M. Hansteen, (Fri May 25, 4:55 am)