Re: rdr to internal ftp

2003-07-30 Thread Daniel Hartmeier
On Mon, Jul 28, 2003 at 03:11:28AM -0500, Scircuit wrote: > rdr on $ExtIF proto tcp from any to any port -> $FtpServer > > pass in on $ExtIF inet proto tcp from any to $ExtIF port $tcp_allow \ > flags S/SA modulate state Translation occurs before filtering. The incoming connection

Re: rdr to internal ftp

2003-07-28 Thread Scircuit
Sorry, that was a typo on my part. It is 7778. On Mon, 28 Jul 2003 08:25:05 -0600 j knight <[EMAIL PROTECTED]> wrote: > Scircuit wrote: > > > FtpServer="192.168.0.2" > > tcp_allow="{ 22, 7778 }" > > > > rdr on $ExtIF proto tcp from any to any port -> $FtpServer > > > > pass in on $ExtIF

Re: rdr to internal ftp

2003-07-28 Thread j knight
Scircuit wrote: FtpServer="192.168.0.2" tcp_allow="{ 22, 7778 }" rdr on $ExtIF proto tcp from any to any port -> $FtpServer pass in on $ExtIF inet proto tcp from any to $ExtIF port $tcp_allow \ flags S/SA modulate state In addition to what Alexey said, read this: http://www.open

rdr to internal ftp

2003-07-28 Thread Alexey E. Suslikov
check this out http://www.openbsd.org/faq/pf/ftp.html

rdr to internal ftp

2003-07-28 Thread Scircuit
I have an internal ftp server running on the 192.0.0.* range. My pf.conf has the following variables to define the port and the server, and the following rdr and pass rules: FtpServer="192.168.0.2" tcp_allow="{ 22, 7778 }" rdr on $ExtIF proto tcp from any to any port -> $FtpServer pass i