LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-04-2010, 06:49 PM   #1
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Rep: Reputation: 31
FTP Server not working


Hey guys, I have a sun server connected to my dell laptop for internet. I've port forwarded 21 on my router, and it's pointed to my laptops static IP (192.168.1.8). I started the ftp service on the sun, and it works fine locally. But when I try to connect to my ftp server with the external IP, it doesn't work. Anyone know what's wrong?
 
Old 11-04-2010, 07:47 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
http://www.ntchosting.com/ftp/ftp-port-connection.html
 
Old 11-04-2010, 09:49 PM   #3
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Original Poster
Rep: Reputation: 31
Thanks for the reply but that didn't solve my problem. I tried using an FTP server on the laptop (Windows XP) and I could connect fine to the server with the external IP. But I can't get connected to the sun servers FTP. Any reasons why this would happen? Maybe something needs to be setup on the sun server.
 
Old 11-05-2010, 02:48 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Then I misunderstood.

So you have a server on the xp and you could access it from outside, correct?
When you put a server on the sun you then could not access it from outside but only inside correct?

I'd assume ports or nat issue. Did you change the router to nat to the sun box after you played with the xp?
 
Old 11-05-2010, 06:04 PM   #5
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Original Poster
Rep: Reputation: 31
What do you mean by that? The NAT Filtering is open (not secure) on my router. But that's the only option I could find on my routers settings. Do I need to setup NAT on the laptop or something?
 
Old 11-05-2010, 09:13 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Depends on the setup. I can't say. I run a router that has the public ip on one side and private ip's on the lan. The internet connection is also in the router. If I were to need some public IP to access a lan ip I'd need to nat it in the router.

Tell us more about what you have.
 
Old 11-06-2010, 12:28 PM   #7
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Original Poster
Rep: Reputation: 31
Okay, so I have my dell laptop connected to my netgear wnr2000v2 wireless router, and it's connected to my cable modem.
My sun server is connected to my dell laptop for internet, and Im trying to run an FTP server off of it. The ftp server works fine on the dell, but it won't work on the sun. And of course my router has the public IP on it's side, and it gives out private IPs. If you need any information let me know, thanks. And yes i have port forwarded 21.
 
Old 11-06-2010, 05:03 PM   #8
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
My sun server is connected to my dell laptop for internet, and Im trying to run an FTP server off of it.
So just so I have this straight, your network setup is:

Internet -> Cable Modem -> Wireless Router -> Dell Laptop -> Sun Server

Is that right? If so, do you have the Dell set up to forward FTP ports to the Sun server? You also might want to have a read here since forwarding just port 21 isn't sufficient for FTP to work.
 
Old 11-06-2010, 07:59 PM   #9
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Original Poster
Rep: Reputation: 31
Yes sir that's my setup, but how would I setup the dell to forward to the sun? Thanks, by the way I'm checking out your site
 
Old 11-07-2010, 06:49 AM   #10
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
Originally Posted by austinramsay View Post
Yes sir that's my setup, but how would I setup the dell to forward to the sun? Thanks, by the way I'm checking out your site
The short answer is that you'll have to set up your Dell as some sort of a router so that you can write iptables rules to forward the packets to the Sun server. To be honest, it might be a better idea to connect the Sun directly to the router if that is possible.
 
Old 11-07-2010, 05:49 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Might use analogx's free proxy instead of ICS. I assume you are using ICS for the internet.
 
  


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
FTP Server not working shane25119 Linux - Networking 19 12-17-2008 10:14 PM
Why FTP server: proftpd NOT working? cucolin@ Fedora 10 10-30-2007 03:13 PM
LS Command not working FTP Server shawnbishop Linux - Software 5 01-10-2006 10:38 AM
Steps to get that FTP server working! tribalmasters Fedora 2 08-14-2005 06:10 AM
partimage to ftp server not working crofty13 Linux - Software 3 06-03-2005 08:42 AM

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

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