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
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
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
check this out http://www.openbsd.org/faq/pf/ftp.html
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