Skip to main content

FTP Stuck at passive connection port while ports are open

Comments

6 comments

  • cPAdminsMichael
    Hi! When passive connections are stuck at directory listing it's in 9/10 because of blocked passive ports (or bad configuration). You write that you have added MasqueradeAddress: 203.0.113.0
    to the local file. Is that an actual copy/paste or did you replace your ip address with the dummy address?
    0
  • Inna
    Hi! When passive connections are stuck at directory listing it's in 9/10 because of blocked passive ports (or bad configuration). You write that you have added MasqueradeAddress: 203.0.113.0
    to the local file. Is that an actual copy/paste or did you replace your ip address with the dummy address?

    Hi, I did copy and paste actually from cPanel docs, and it's really this IP in my local file, and it's also this IP address in /etc/proftpd.conf file too. Do you mean I should replace this IP in local file with my ACTUAL SERVER IP?
    0
  • Inna
    That was the whole thing and point! Oh my GOD! What gaffe I did. I did fix many things like this and exactly this, but I'm not sure why I did not remember to do with actual IP :) Thanks for the hint and in fact the answer :)
    0
  • cPAdminsMichael
    You should only use MasqueradeAddress
    if your server run in NAT mode. So if you run in NAT mode, replace the IP address with your public WAN ip address. Else, remove the line (you could remove the whole file as the listed passive ports are actually the default ones) - and run /scripts/setupftpserver proftpd
    0
  • cPAdminsMichael
    Super - great that you got it working! ;-)
    0
  • cPRex Jurassic Moderator
    Glad you were able to get that tracked down!
    0

Please sign in to leave a comment.