Re: pf and ftp proxy for lan ftp clients Shane Almeida <almeida.spam.is.evil@spam.is.evil.mindless.com> writes:
> Or just use the 'pass' modifier to rdr:
>
> If the pass modifier is given, packets matching the translation
> rule are passed without inspecting the filter rules:
>
> rdr pass on $LAN proto tcp from any to any port 21 -> 127.0.0.1 port 8021
If the OP has the option, I would recommend using ftpsesame (or better
yet) pftpx. They're much simpler to deal with and get up and running.
Pftpx has recently been imported and will be the new ftp-proxy for
OpenBSD 3.8 and beyond. I have it working on a OpenBSD 3.6 box though
and it should also work for 3.7.
--
David Magda <dmagda at ee.ryerson.ca>
Because the innovator has for enemies all those who have done well under
the old conditions, and lukewarm defenders in those who may do well
under the new. -- Niccolo Machiavelli, _The Prince_, Chapter VI |