LinuxQuestions.org
Help answer threads with 0 replies.
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, 05: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 06:01 PM.
 
Old 10-25-2005, 12:20 AM   #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, 11: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Pureftpd + xinetd: Writes pureftpd commandline to client when connecting bomix Linux - Software 2 03-29-2005 10:21 PM
FTP Server log location for proftpd and pureftpd jon_k Linux - Software 2 08-06-2004 04:21 AM
nmap shows port 21 open, but no ftp service running ? epoo Linux - Networking 3 12-21-2003 09:16 PM
Choosing FTP server. proFTPd, vsFTPd, PureFTPd? ZiGiE Linux - Software 11 12-01-2003 05:11 PM
Problem With FTP and Maybe Port forwarding ComFox Linux - Networking 1 09-19-2002 11:16 PM


All times are GMT -5. The time now is 08:08 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration