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

    [SOLVED]Issues Running 2 FTP Servers, 2nd One on Another Port Has Issues

    Scheduled Pinned Locked Moved NAT
    5 Posts 2 Posters 1.9k 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.
    • ghostshellG Offline
      ghostshell
      last edited by

      Not sure if this is the right place for this.

      I am trying to run 2 FTP servers that can be accessible from the outside.

      They are on 2 different ports on the outside and inside

      The one running on the default port works fine, the one running on the other port will connect but fail when it retrieves the directory listing.

      If i switch the non working one to the default FTP port it works all the way through past the initial error of getting the directory listing.

      Ive tried different NAT forwarding, NAT & FTPProxy, PURE NAT, and system default with no change.

      On the FTP Server i have passive setup and enabled and even opened up the passive FTP port range with no luck.

      Also when connecting to the either one on the default port it pulls the external address, when connecting on the other port is pulls the servers local address.

      Need help on this one.

      1 Reply Last reply Reply Quote 0
      • I Offline
        illern
        last edited by

        Hi!

        I´m running 2 ftp servers behind pfsense with no problems in passive mode.

        Check out my reply in this thread to see if it helps.
        http://forum.pfsense.org/index.php/topic,36237.msg187196.html#msg187196

        /illern

        1 Reply Last reply Reply Quote 0
        • ghostshellG Offline
          ghostshell
          last edited by

          worth a shot!

          thanks, will post when i get a chance to try it

          1 Reply Last reply Reply Quote 0
          • I Offline
            illern
            last edited by

            Also with your problem of internal address.

            If you connect from behind a NAT You need to make sure that your ftp client sends the correct IP adress to the ftp server.
            I think your client sends the computers IP adress as the response adress and that´s an internal IP of your LAN.

            In the FlashFxp client I use it´s called "Use site IP for passive connections" that I have to enable.
            Think I seen some that´s called something with "IP masq" in some clients.
            Look around your settings in the client.

            For the FTP server you should have a setting where you enter your external address to respond with when using passive mode.

            /illern

            1 Reply Last reply Reply Quote 0
            • ghostshellG Offline
              ghostshell
              last edited by

              Thanks so much!

              The option to put my external address fixed the issue.

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