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

    Connect to Internal FTP Server fail

    Scheduled Pinned Locked Moved NAT
    1 Posts 1 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.
    • O
      osaka1217
      last edited by

      I use Pfsense to work as a gateway and the firewall of a web server, it contain 2 real ip, with 3 network card,
      the connection looks like this:
      eth0: real ip1
      eth1: lan ip address
      opt1: real ip2

      Internet –-- (realip1)Pfsense ----(lan ip) ---- LAN
                                    |
                                      --(real ip2 at opt1 interface) ---- web server

      I use virtual ip address to set the 2nd real ip address at the opt1 interface, everything works fine, but I cannot connect to the web server using FTP, (the web server also running a ftp server service), so I try to set passive mode port range at the ftp server, and NAT portforward 21 and a range 20000 ~ 20100 to the web server from opt1. But it still not work, when I try to connect to the ftp server, it able to login but stop at the "LIST" command.

      I already tried to enable the ftp helper at opt1(web server's real ip) interface at forward port 21, 20 to the web server, but it still not work.

      So, how can I get the ftp server work in this environment? Thank you.

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