LinuxQuestions.org
Help answer threads with 0 replies.
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 04-15-2004, 08:02 AM   #1
esvfi
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
Linux FTP behind Win ICS


I'm trying to get a proftp server running on an internal linux pc accessible to the wider internet. The linux pc gets its net access through a windows xp pc with ics, and web browsing etc from linux works fine. I can access the ftp server from any internal pc fine (although i can't log in, wrong login even though im sure its right, but i think thats a different problem), but not through the ip of my windows pc. I have forwarded port 21 from windows to linux pc (I think? anyway to check) and have set the ftp server to masquarde as the external ip, and i don't think i have a firewall on the linux pc but not sure? But it still don't work? When i try to access it i get
through dos ftp i get error messege: ftp: connect :unknown error message.

I'm a bit new to linux so any help, in the simplest terms, would be appreciated.

Thanks
 
Old 04-15-2004, 09:02 AM   #2
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
by any chance are u willing to reverse that setup and make the Linux box the gateway? Just curious, how in Windows did you even tell it to forward port 21?

Also, FTP uses another port besides 21 (there is a command port and a data port). Try forwarding ports 20 and 21.
 
Old 04-15-2004, 09:02 AM   #3
ldp
Member
 
Registered: Apr 2004
Location: Belgium Antwerpen
Distribution: slackware - knoppix
Posts: 141

Rep: Reputation: 18
Are you maybe using some firewall on the windows machine? I assume so because you're talking about "forwarding port 21" ?? And doesn't ftp also use port 22 or 23? Maybe if you bring down the fw on the xp and see what happens then?
Anyway, it's better using a linuxbox as router/fw than winxp with ics.

idd, the ports for ftp seem to be: (/etc/services)
ftp-data 20/tcp
ftp 21/tcp

regards,
Lieven

Last edited by ldp; 04-15-2004 at 09:19 AM.
 
Old 04-15-2004, 09:38 AM   #4
esvfi
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the repsonse. I've got someone to test it remotely and it works. Must be a problem testing it locally due to the port forwarding.
Anyway for MS XP ICS port forwarding there is a "Settings" button under the ICS setup boxes on the advanced settings tab of the actual internet connection

Thanks again
 
  


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
vsftpd not list files when viewed from deifferent win machine win ftp application in anuj_sharma25 Linux - Newbie 2 11-22-2005 11:08 PM
ICS sharing with win xp as host simao20 Linux - Networking 6 04-03-2004 05:16 PM
Mandrake 9.2 - DSL - Win XP - ICS - Can I make it work? Sean Murphy Linux - Networking 4 10-21-2003 04:23 AM
ICS with Mandrake 8.2 and Win NT BorgKing Linux - Networking 0 06-19-2002 08:48 PM
Win ICS&RH7.1 - no DNS bmckee Linux - Networking 1 12-14-2001 11:44 PM

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

All times are GMT -5. The time now is 08:25 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