News: This forum is now permanently frozen.
Pages: [1]
Topic: can.t login to ftp server thru NAT  (Read 1851 times)
« on: February 04, 2008, 23:23:50 »
grisha *
Posts: 2

I forvarded ports. but from longer distances nobody can.t login to ftp server. Monowall doesn.t showing any messages, but there is clients error:
 
Code:
Status: Connecting to freefm.lv ...
Status: Connected with freefm.lv. Waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [TLS] ----------
Response: 220-You are user number 1 of 100 allowed.
Response: 220-Local time is now 19:36. Server port: 21.
Response: 220-This is a private system - No anonymous login
Response: 220-IPv6 connections are also welcome on this server.
Response: 220 You will be disconnected after 15 minutes of inactivity.
Command: USER music
Response: 331 User music OK. Password required
Command: PASS *****
Response: 230-User music has group access to: users video audio dialout
Response: 230- uucp
Response: 230-This server supports FXP transfers
Response: 230 OK. Current restricted directory is /
Command: FEAT
Response: 211-Extensions supported:
Response: EPRT
Response: IDLE
Response: MDTM
Response: SIZE
Response: REST STREAM
Response: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response: MLSD
Response: TVFS
Response: ESTP
Response: PASV
Response: EPSV
Response: SPSV
Response: ESTA
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response: 211 End.
Command: SYST
Response: 215 UNIX Type: L8
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is your current location
Command: TYPE A
Response: 200 TYPE is now ASCII
Command: PASV
Response: 227 Entering Passive Mode (10,48,15,1,43,67)
Command: LIST
Error: Could not retrieve directory listing
Error: Interrupted by user!
Status: Disconnected from server
Status: Connecting to freefm.lv ...
Status: Connected with freefm.lv. Waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [TLS] ----------
Response: 220-You are user number 2 of 100 allowed.
Response: 220-Local time is now 19:37. Server port: 21.
Response: 220-This is a private system - No anonymous login
Response: 220-IPv6 connections are also welcome on this server.
Response: 220 You will be disconnected after 15 minutes of inactivity.
Command: USER normis
Response: 331 User normis OK. Password required
Command: PASS *******
Response: 230-User normis has group access to: users video audio dialout
Response: 230- uucp
Response: 230-This server supports FXP transfers
Response: 230 OK. Current restricted directory is /
Command: FEAT
Response: 211-Extensions supported:
Response: EPRT
Response: IDLE
Response: MDTM
Response: SIZE
Response: REST STREAM
Response: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response: MLSD
Response: TVFS
Response: ESTP
Response: PASV
Response: EPSV
Response: SPSV
Response: ESTA
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response: 211 End.
Command: SYST
Response: 215 UNIX Type: L8
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is your current location
Command: TYPE A
Response: 200 TYPE is now ASCII
Command: PASV
Response: 227 Entering Passive Mode (10,48,15,1,126,57)
Command: LIST
Error: Transfer channel can't be opened. Reason: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Error: Could not retrieve directory listing
« Reply #1 on: February 05, 2008, 01:17:31 »
ChainSaw
Guest

Sounds to me like you do not have your m0n0wall setup to NAT the passive mode port range to your FTP server.  setup your FTP server to use a passive port range like 50200 to 50231 then NAT that same range to your FTP server.  Also, you will need to tell your FTP server what public IP your WAN port is using.

CS...
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines