Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    PfSense FTP issue

    Scheduled Pinned Locked Moved Firewalling
    7 Posts 3 Posters 2.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F Offline
      FinlayDaG33k
      last edited by

      Hii There,

      I just installed PfSense as my old DD-WRT router was not capable of handling my new internet speed.
      However, when I wanted to port forward my FTP server (yes yes yes, I know I shouldn't be using FTP as it's old and insecure, blablabla), I came by a little issue:

      Server sent passive reply with unroutable address. Using server address instead.
      

      I've done my fair share of looking on the forums, and pretty much everything came down to one solution:

      Port forward the ports for the passive mode

      However, here comes the fun part:

      It will be a huge pain in the buttocks to do so.
      Why you ask?
      Well… I don't really have just one FTP server running here I need to access, I have a bunch of them running I need to access.
      So opening all the ports for all servers will be a pain in the buttocks.

      So my question is: How can I do this without opening all the ports for the passive mode?
      The odd part in my opinion: DD-WRT worked perfectly fine with opening just the FTP port, yet, PfSense doesn't like this.

      I hope somebody can help me, because opening all the passive ports, for about 10-15 servers, can become a nightmare.

      Cheers!

      1 Reply Last reply Reply Quote 0
      • johnpozJ Offline
        johnpoz LAYER 8 Global Moderator
        last edited by

        dd-wrt has helper/proxy.  Pfsense helper proxy for ftp was removed a few versions back.. A package was created to put back the active mode client back in.

        If you ran your servers in active mode, then you wouldn't have any issues on your side.  Just need to forward ports you want to use for control channel to your servers, since the servers would then be making the connection back to the client it wouldn't be a problem on your side.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 26.07 | Lab VMs 2.9.0, 26.07

        1 Reply Last reply Reply Quote 0
        • F Offline
          FinlayDaG33k
          last edited by

          So if I understand you correctly, I should put my server in active mode, then just forward port 21 and it should work?

          Why was the helper proxy for FTP removed?
          It is such a helpful (and in my opinion, pretty neccessary) thing to have.

          1 Reply Last reply Reply Quote 0
          • johnpozJ Offline
            johnpoz LAYER 8 Global Moderator
            last edited by

            Because FTP should of died years ago.. Just like how they removed the PPTP server.. These protocols are NOT secure!  And if you use ftps the helper can not work because it can not see the control channel info.  If you use sftp as you should - then you have no need for it.

            If you really want to run ftp, you don't really need a helper..  Active server behind does not need it.  BTW your clients have to select active, your server just needs to allow it.  Passive you can forward the ports.  And even active client you could do - since the source port is 20 you could allow source port 20 traffic into your client.

            This can be a pain if you have multiple clients - which is why they created the ftp client package you can add if you just can not wake up and smell the coffee of the century your in and use a secure way to transfer your files ;)  You do understand sftp is FREE just like ftp, easier and SECURE!!!

            Runs on any OS.. You running an ftp server is on you..  So you choose to be not secure..

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 26.07 | Lab VMs 2.9.0, 26.07

            1 Reply Last reply Reply Quote 0
            • F Offline
              FinlayDaG33k
              last edited by

              Hii there,

              I do understand SFTP is safer, but for now, FTP is the way for me to roll (I am, however, looking into SFTP to replace FTP in the near future, just didn't get it in my head just yet, so there is still hope).

              Thanks for the information, I can continue for now :)

              1 Reply Last reply Reply Quote 0
              • JKnottJ Offline
                JKnott
                last edited by

                Because FTP should of died years ago.

                I don't have a problem with anonymous FTP servers.  They're easy to set up for making files publicly available.

                PfSense running on Qotom mini PC
                i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel 1 Gb Ethernet ports.
                UniFi AC-Lite access point

                I haven't lost my mind. It's around here...somewhere...

                1 Reply Last reply Reply Quote 0
                • johnpozJ Offline
                  johnpoz LAYER 8 Global Moderator
                  last edited by

                  And all it does is promote continue use of dead protocol.. Why not just host your files anonymous via http?  That is how I provide my iperf3 compiles for windows to the public internet.

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 26.07 | Lab VMs 2.9.0, 26.07

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                  Privacy Policy · Cookie Policy