LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-03-2003, 05:36 PM   #1
strago
LQ Newbie
 
Registered: Jul 2003
Posts: 12

Rep: Reputation: 0
For anyone with a cable modem and a router...


I have a cable modem that feeds into a linksys cablemodem/dsl router. Basically, I just setup port forwarding (or so I thought) to forward ftp ports to port 21. I tried it on this machine (xp) and also my linux machine, but when people ftp in, they get a socket error, is there some sort of configuration file im missing or a piece that I didnt get right?
 
Old 09-03-2003, 05:39 PM   #2
stumbles
LQ Newbie
 
Registered: Apr 2003
Posts: 21

Rep: Reputation: 15
Do you mean forwarding on your boxes or on the router? If you mean the boxes, that won't do.

You'll have to log into the router, go to the section for port forwarding and tell it what port and what box you want it to go to.
 
Old 09-03-2003, 05:55 PM   #3
strago
LQ Newbie
 
Registered: Jul 2003
Posts: 12

Original Poster
Rep: Reputation: 0
I did that, the person who tries to connect from the outside can, but it cant get a socket or something so it wont list whats there
 
Old 09-03-2003, 06:32 PM   #4
stumbles
LQ Newbie
 
Registered: Apr 2003
Posts: 21

Rep: Reputation: 15
Quote:
Originally posted by strago
I did that, the person who tries to connect from the outside can, but it cant get a socket or something so it wont list whats there
Do you have the appropriate service running on the linux box?
 
Old 09-03-2003, 07:30 PM   #5
strago
LQ Newbie
 
Registered: Jul 2003
Posts: 12

Original Poster
Rep: Reputation: 0
yeap, it all worked fine when i was still at school, now ive got this cable modem stuff and it doesnt seem to want to work correctly
 
Old 09-03-2003, 07:38 PM   #6
Leper Messiah
LQ Newbie
 
Registered: Aug 2003
Location: Winchester, Virginia (SALUTE!)
Distribution: Slackware 9(bastardized), Mandrake 9.1
Posts: 26

Rep: Reputation: 15
Is the Cable Company blocking incoming requests on port 21? They tend not to allow servers of any type. I know here (verizon) they block 21, 80, 8080 etc. to keep you from running services and acting as a proxy.

Set your ftp server on a different port and reconfigure the router and give it a whirl
 
Old 09-03-2003, 07:48 PM   #7
stumbles
LQ Newbie
 
Registered: Apr 2003
Posts: 21

Rep: Reputation: 15
Quote:
Originally posted by Leper Messiah
Is the Cable Company blocking incoming requests on port 21? They tend not to allow servers of any type. I know here (verizon) they block 21, 80, 8080 etc. to keep you from running services and acting as a proxy.

Set your ftp server on a different port and reconfigure the router and give it a whirl

Good point.
 
Old 09-03-2003, 08:53 PM   #8
strago
LQ Newbie
 
Registered: Jul 2003
Posts: 12

Original Poster
Rep: Reputation: 0
well, they dont seem to block httpd, which is the one they bitched about over the phone, and they also dont block sshd, cuz they both work fine, heres the text log i got from ftping


** CuteFTP Pro 3.0 - build Nov 4 2002 ***

STATUS:> Connecting to ftp server xxxxxxxxxx:21 (ip = xxxxxxxxxxx)...
STATUS:> Socket connected. Waiting for welcome message...
220 (vsFTPd 1.1.3)
STATUS:> Connected. Authenticating...
COMMAND:> USER anonymous
331 Please specify the password.
COMMAND:> PASS *****
230 Login successful. Have fun.
STATUS:> Login successful.
COMMAND:> PWD
257 "/"
STATUS:> Home directory: /
COMMAND:> FEAT
500 Unknown command.
STATUS:> This site doesn't support the 'features' command.
COMMAND:> REST 100
350 Restart position accepted (100).
STATUS:> This site can resume broken downloads.
COMMAND:> REST 0
350 Restart position accepted (0).
COMMAND:> PASV
227 Entering Passive Mode (192,168,1,101,159,89)
COMMAND:> LIST
STATUS:> Connecting ftp data socket 192.168.1.101:40793...
ERROR:> Can't connect to remote server. Socket error = #10060.


So I think it has to deal with an issue about the 40793 port, but i have no idea how to handle that
 
Old 09-03-2003, 09:29 PM   #9
stumbles
LQ Newbie
 
Registered: Apr 2003
Posts: 21

Rep: Reputation: 15
At a guess I think it has more to do with the "FEAT" command that your site does not support. What ftp server are you running, WU-ftp or proftp?
 
Old 09-03-2003, 09:54 PM   #10
strago
LQ Newbie
 
Registered: Jul 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Im running vsFTPd on redhat9
 
Old 09-04-2003, 07:13 AM   #11
stumbles
LQ Newbie
 
Registered: Apr 2003
Posts: 21

Rep: Reputation: 15
Ok a couple of dumb questions. Have you tried ftping into the box yourself (within your network)? And have you checked the configuration of vxFTPd..... I"m not that familiar with it.
 
Old 09-04-2003, 04:04 PM   #12
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
have your buddy enable Passive FTP on his client
 
  


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
LAN with router and cable modem moonmoth Linux - Networking 1 07-15-2005 07:25 PM
Can't get to the internet through cable modem/router Myron Linux - Networking 4 03-03-2004 12:09 AM
Cable modem and router - connection lost koswo Linux - Networking 13 01-09-2004 11:19 AM
Mandrake 9.1, cable modem, and router. (newbie) Nocturn Linux - Networking 27 11-05-2003 08:46 AM
Intenet through router and cable modem dhirajsharma Linux - Networking 4 09-24-2003 01:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:58 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
Open Source Consulting | Domain Registration