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

    Access FTP server via wan

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 4 Posters 2.7k 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
      fonky101
      last edited by

      hello everybody

      i have  created an FTP server in computer  behind PFsense 
      and have created dynamic DNS  to  my WAN IP  for accessing thsi FTP  to internet

      when i'm connecting to my FTP via internet i have this error

      The connection has timed out

      The server at 41.204.105.165 is taking too long to respond.

      The site could be temporarily unavailable or too busy. Try again in a few
          moments.
        If you are unable to load any pages, check your computer's network
          connection.
        If your computer or network is protected by a firewall or proxy, make sure
          that Firefox is permitted to access the Web.

      i think i can't access my FTP server via internet
      plz can someone here help me

      this is my network

      INTERNET–------------>>>PFSENSE---------------->>> LAN(FTP  SERVER)
      dynamic IP                        WAN IP:41.204.105165          LAN IP:192.168.123.0/253
                                            IP:PFSENSE :192.168.123.254

      sorry i'm newbie

      thanks in advance for all your help

      1 Reply Last reply Reply Quote 0
      • W
        wallabybob
        last edited by

        You need at least a port forward rule to forward TCP access to port 21 (FTP) on WAN IP address to your ftp server. Otherwise the FTP access gets to pfSense where it is (probably) blocked by default WAN firewall rule.

        1 Reply Last reply Reply Quote 0
        • M
          mostlyharmless
          last edited by

          To add on to that, if you are connecting through a firewall, or a NAT of any sort, while connecting to your ftp server, you should use passive mode FTP.
          FTP in normal mode will connect over port 21 as a control port, and send data to a random high number port. Since this port is arbitrary, and unsolicited (from the firewalls prospective) it will be dropped, although some firewalls are clever enough to deal with ftp.

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

            I have to assume he got it working from a port forward aspect atleast?

            Connected to 41.204.105.165.
            220 Welcome to the OpenDreambox FTP service.

            Or maybe his IP address changed and this is someone else that has ftp open? ;)

            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 24.11 | Lab VMs 2.8, 24.11

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