Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    FTP in pfSense 2.0

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    49 Posts 16 Posters 41.5k 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.
    • E
      eri--
      last edited by

      Can you provide me traffic captures when this happens!
      It seems strange that the same protocol does not work for different versions of Windows?

      1 Reply Last reply Reply Quote 0
      • P
        phb.fr
        last edited by

        Hi,

        For serucity reason and for best debug i send you XXXX.cap and log in private message.

        the of course, the answer should be put here.

        Best regards,

        1 Reply Last reply Reply Quote 0
        • P
          phb.fr
          last edited by

          i am the only one with ftp problem?

          1 Reply Last reply Reply Quote 0
          • ?
            Guest
            last edited by

            Hi guys, don't know if it can help in your specifics scenarios, but as I fighted in the past for having a ftp server working well behind a pfsense box, here is what I had learned …

            As an old protocol, ftp was not well designed to be NATed, if you use active mode, with port forward for port 21(connection) and port 20 (data), it works, not very fast but it works. The thing is that most ftp clients are pre-configured to use passive mode. And the problem we have is that passive mode use random ports to transmit data. So it's logic it freezes as port xxxx and not 20 or 21 is dropped by the box. In a ftp client GUI like in Filezilla, it will do some errors and retry transfer and browsing of files will be very slow or do not work.
            To fix this, I remembered I used filezilla ftp server (free as the client) which allow you to set the port range used for passive connections, and this is very cool because then we just have to NAT this portrange (choose of a port range >1024 is better to respect conventions) in pfsense. This way it worked like a charm !

            If you have contraints like you cannot set, on server side, the passive portsrange the server will use and that you cannot choose/change the ftp server solution then you'll have to use a dedicated public ip and do 1:1 nat.

            1 Reply Last reply Reply Quote 0
            • J
              jelder
              last edited by

              I have a little problem with ftp too. I use fireftp (because its free) together with my webhost. But I wanna make uploads automatic at certain times during the day. Is there an other free program that let me do this. I just can't do it with fireftp :(

              1 Reply Last reply Reply Quote 0
              • ?
                Guest
                last edited by

                Try Cobian backup, it's a free and light tool that allow to set schedules transferring files to an ftp server.
                http://educ.umu.se/~cobian/cobianbackup

                1 Reply Last reply Reply Quote 0
                • K
                  keith_opswat
                  last edited by

                  You can script something with the windows ftp command line and create a scheduled task or cron it with the linux command line ftp script.

                  1 Reply Last reply Reply Quote 0
                  • R
                    robypiro
                    last edited by

                    Hello to everyone. I've just installed the last version of pfsense 2 and I'm having the same problem with ftp: I opened ports 20 and 21 with a Lan Firewall rule, but I can't connect to external ftp sites. I tried to connect to ftp site using firefox and filezilla, it seems to start the conncection but it hangs

                    1 Reply Last reply Reply Quote 0
                    • R
                      robypiro
                      last edited by

                      I updated now at the last version, but problem persist! Please anyone could help me??

                      1 Reply Last reply Reply Quote 0
                      • R
                        robypiro
                        last edited by

                        Any news about use of ftp behind pfsense?

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.