• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Solved: Issues with passive FTP using pf

Chaotic42

Lifer
Hey all.

I'm using pf as a firewall and I cannot get it to play nice with passive FTP. I've read through the pf documentation (I even bought a book), but the standard method doesn't seem to work. I have the following in my pf.conf, per the instructions at http://www.openbsd.org/faq/pf/ftp.html:

Code:
anchor "ftp-proxy/*"
pass in quick on $int_if inet proto tcp to port 21 divert-to 127.0.0.1 port 8021

I still get passive mode errors from apt-get on clients behind the firewall. ftp-proxy is running on the firewall. Any thoughts?
 
Last edited:
Looks like I got it to work. I removed any other mention of ftp from my config file and just allowed these two lines to work their magic. I then forced a refresh of the config file and it appears to be working.
 
Back
Top