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

    I cant access FTP from public network

    Scheduled Pinned Locked Moved NAT
    3 Posts 2 Posters 538 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.
    • R
      rashidpokkat
      last edited by

      Hello
      I can access ftp from inside network but can't access ftp site from Public network , im using pfsense 2.4.4 release p3 ,i have done port 21 NAT to private IP,
      Here i attach error report from filezilla and image of NAT Configured and ftp client error, anyone please help me

      Filezilla server error report

      (000148)28/10/2020 10:32:05 AM - (not logged in) (61.3.215.103)> Connected on port 21, sending welcome message...
      (000148)28/10/2020 10:32:05 AM - (not logged in) (61.3.215.103)> 220-FileZilla Server 0.9.60 beta
      (000148)28/10/2020 10:32:05 AM - (not logged in) (61.3.215.103)> 220-written by Tim Kosse (tim.kosse@filezilla-project.org)
      (000148)28/10/2020 10:32:05 AM - (not logged in) (61.3.215.103)> 220 Please visit https://filezilla-project.org/
      (000148)28/10/2020 10:32:05 AM - (not logged in) (61.3.215.103)> AUTH TLS
      (000148)28/10/2020 10:32:05 AM - (not logged in) (61.3.215.103)> 502 Explicit TLS authentication not allowed
      (000148)28/10/2020 10:32:05 AM - (not logged in) (61.3.215.103)> AUTH SSL
      (000148)28/10/2020 10:32:05 AM - (not logged in) (61.3.215.103)> 502 Explicit TLS authentication not allowed
      (000148)28/10/2020 10:32:05 AM - (not logged in) (61.3.215.103)> USER onlinecampusftp
      (000148)28/10/2020 10:32:05 AM - (not logged in) (61.3.215.103)> 331 Password required for onlinecampusftp
      (000148)28/10/2020 10:32:05 AM - (not logged in) (61.3.215.103)> PASS **********
      (000148)28/10/2020 10:32:05 AM - onlinecampusftp (61.3.215.103)> 230 Logged on
      (000148)28/10/2020 10:32:05 AM - onlinecampusftp (61.3.215.103)> PWD
      (000148)28/10/2020 10:32:05 AM - onlinecampusftp (61.3.215.103)> 257 "/" is current directory.
      (000148)28/10/2020 10:32:05 AM - onlinecampusftp (61.3.215.103)> TYPE I
      (000148)28/10/2020 10:32:05 AM - onlinecampusftp (61.3.215.103)> 200 Type set to I
      (000148)28/10/2020 10:32:05 AM - onlinecampusftp (61.3.215.103)> PASV
      (000148)28/10/2020 10:32:05 AM - onlinecampusftp (61.3.215.103)> 227 Entering Passive Mode (192,168,1,3,255,96)
      (000148)28/10/2020 10:32:05 AM - onlinecampusftp (61.3.215.103)> MLSD
      (000148)28/10/2020 10:32:15 AM - onlinecampusftp (61.3.215.103)> 425 Can't open data connection for transfer of "/"
      (000148)28/10/2020 10:34:15 AM - onlinecampusftp (61.3.215.103)> 421 Connection timed out.
      (000148)28/10/2020 10:34:15 AM - onlinecampusftp (61.3.215.103)> disconnected.

      pfsense NAT

      NAT.jpg

      Filezilla client error report

      client.jpg

      1 Reply Last reply Reply Quote 0
      • RicoR
        Rico LAYER 8 Rebel Alliance
        last edited by

        You should not use FTP, outdated protocol without any encryption.
        That said, for passive FTP you need also to forward the passive port range.
        Check https://docs.netgate.com/pfsense/en/latest/recipes/ftp-without-proxy.html

        -Rico

        1 Reply Last reply Reply Quote 1
        • R
          rashidpokkat
          last edited by

          Thank you, now its working

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