> hi list! > > if i try to connect to a ftp behind a nat/router, i cant do some > directory listing, neither in passive nor in active mode. that is > because the ftp reports its lan ip insteal of the internet ip from the > router to the client. > > is there an option in lftp wwhich fixes that issue?? so that lftp takes > always the ip it has connected to and ignores the ip coming from the > server? > > thank you all, > > dirk hoerner
If you *AND* the ftp server are behind nat, without any FTP specific module (like the 2.4.x's ip_nat_ftp module), then you are in a dead end, since you and the ftp server will always provide internal IPs.
