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

    Problem connecting to ftp sites DUAL WAN using static routing

    Scheduled Pinned Locked Moved Routing and Multi WAN
    18 Posts 4 Posters 8.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.
    • H
      hoba
      last edited by

      Try passive mode.

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

        Hi,
        In passive mode it simply will not LIST.. one can wait for minutes..

        Connect ok!
        PWD
        257 "/" is your current location
        Get directory
        TYPE A
        200 TYPE is now ASCII
        PASV
        227 Entering Passive Mode (85,17,3,142,215,115)
        LIST
        Cancel pressed!

        In dos the following:
        ftp> ls
        –-> PORT 192,168,2,4,15
        500 I won't open a conne
        ---> NLST
        425 No data connection

        So any suggestiosn are still welcome.. I am just stuck at this one?
        If some one is able to ftp tp websites etc from LAN to any internet hosted ftp server using staic Dual WAN please let me know what your settings are..

        1 Reply Last reply Reply Quote 0
        • H
          hoba
          last edited by

          I do, even with loadbalancing in active and passive mode when using this workaround rule  ;)

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

            hahaha could have guessed…  I hope I will too soon.. :-)

            1 Reply Last reply Reply Quote 0
            • H
              hoba
              last edited by

              Oh, btw, you have to reset states after you added the loopbackrule. If you still have old states in your statetable and you try to get tot he same server again you will still see the problem. (diagnostics>states, reset states)

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

                :-( did that .. even before posting ..  even after the workaround..

                I did a reboot and that solves it.. as it seems resetting states isn't working.. I have that with rule changes also..

                Anyway the workaround has solved the main issue..

                Thanks Hoba ..

                1 Reply Last reply Reply Quote 0
                • H
                  hoba
                  last edited by

                  Oh, then you see the filter_reload bug as well. This has been fixed and will be available as download soon (1.0.1 is in the pipe).

                  1 Reply Last reply Reply Quote 0
                  • B
                    billm
                    last edited by

                    @hoba:

                    Oh, then you see the filter_reload bug as well. This has been fixed and will be available as download soon (1.0.1 is in the pipe).

                    Arg…that bug SUCKS :-/  Why oh why was this not caught in the RC's sigh.  One wonders if nobody used them.

                    --Bill

                    pfSense core developer
                    blog - http://www.ucsecurity.com/
                    twitter - billmarquette

                    1 Reply Last reply Reply Quote 0
                    • P
                      peterclo
                      last edited by

                      I think I have the same problem and even slightly worse  :-\

                      I couldn't connect to any FTP server on the Internet so I added the workaround rule above my Allow All on LAN and redirected it to the default gateway (WAN, I'm loadbalancing on WAN and OPT1). Now I can connect to FTP servers (including passively) but sometimes it can't LIST, and just hang there, regardless of the FTP client. I did a state reset and even a reboot, to no avail :(

                      1 Reply Last reply Reply Quote 0
                      • H
                        hoba
                        last edited by

                        Make sure you use "default" (should show up as an asterisk in the rules view) instead of the WAN-IP as gateway.

                        1 Reply Last reply Reply Quote 0
                        • P
                          peterclo
                          last edited by

                          Yep, that's what I was using. I updated to 1.0.1 and after the reboot it seems to be working now :)

                          Anyway, if my WAN comes down I'll have to edit the workaround rule to use OPT1 as the gateway, right?

                          1 Reply Last reply Reply Quote 0
                          • H
                            hoba
                            last edited by

                            The ftp helper can only be used at the original WAN as it is a userland application that can't make use of the loadbalancer. This is a limitation. Btw, we fixed something behind the scenes, so you should try if you now can do without the workaround rule. Just disable it and try again.

                            1 Reply Last reply Reply Quote 0
                            • P
                              peterclo
                              last edited by

                              No luck without the workaround :(

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