LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-24-2005, 04:58 PM   #1
karphead
LQ Newbie
 
Registered: Mar 2005
Distribution: slackware 10.1
Posts: 11

Rep: Reputation: 0
[pureftpd] problem running from non default ftp port


I'm using pureftpd and I have a virtual user set up. It works fine on port 21 but when I changed ther server settings to listen to a different port (1557) I'm having problems. I log in okay but once I'm in I get the following error:

Code:
Response: 500 I won't open a connection to 10.10.xxx.xxx (only to 70.96.xxx.xxx)
Error: Could not retrieve directory listing
The 10.10 addy is the client's internal ip address, I imagine the 70.96 is the external. I'm not running a firewall on the server but it is behind a router that has one. I've forwarded ports 21, 1557 and 40000-40500 (for passive mode) but I'm still getting the same errors.

I'm boggled why it works on the default port but not the other. Also, I don't understand why it's reading the internal address instead of the external. I'm guessing there's a configuration that I'm missing somewhere?

Last edited by karphead; 10-24-2005 at 05:01 PM.
 
Old 10-24-2005, 11:20 PM   #2
GaMeS
Member
 
Registered: Jan 2005
Location: France / Bretagne
Distribution: Debian / Gentoo
Posts: 71

Rep: Reputation: 15
hi,

Try to modify your /etc/services file


it's a file based relation port <=> protocol

it's an idea...
 
Old 10-25-2005, 10:17 AM   #3
karphead
LQ Newbie
 
Registered: Mar 2005
Distribution: slackware 10.1
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by GaMeS
hi,

Try to modify your /etc/services file


it's a file based relation port <=> protocol

it's an idea...
I entered in two lines (one for udp and one for tcp) to that port, restarted and tried to reconnect but I got the same problem. Nice guess though, I thought it was going to work...it's gotta be some configuration like that that I'm missing...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Choosing FTP server. proFTPd, vsFTPd, PureFTPd? ZiGiE Linux - Software 12 03-09-2015 12:56 PM
Pureftpd + xinetd: Writes pureftpd commandline to client when connecting bomix Linux - Software 2 03-29-2005 09:21 PM
FTP Server log location for proftpd and pureftpd jon_k Linux - Software 2 08-06-2004 03:21 AM
nmap shows port 21 open, but no ftp service running ? epoo Linux - Networking 3 12-21-2003 08:16 PM
Problem With FTP and Maybe Port forwarding ComFox Linux - Networking 1 09-19-2002 10:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration