LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-02-2006, 02:03 AM   #1
greeklegend
Member
 
Registered: Feb 2006
Location: At a computer
Distribution: Ubuntu 7.04, LFS 6.3 rc1 (living dangerously ;), Windows XP
Posts: 75

Rep: Reputation: 15
My router has a ftp server and won't forward the port


Hi, I'm trying to run a ftp server on my computer so i can upload files to my webserver. I downloaded pure-ftpd through synaptic (ubuntu) and set it all up ok.
I can connect to it with "localhost" and "192.168.1.100" ok, but when i try my IP, i get a different FTP server. Upon closer inspection, it appears that I am connecting to a FTP server on my router (a netcomm nb5 with firmware 62.51).
I've enabled both DMZ and Port Forwarding for this, but computers both inside my network and outside connect to my router's FTP. How do i make it properly forward to my server?
If anyone can suggest a different method of uploading files to my server remotly, that'll do too.

System...
Netcomm nb5 modem/router, connecting to a single computer through ethernet
Ubuntu 6.06
Pure-ftpd 1.0.21

Thanks in advance
 
Old 09-02-2006, 02:34 AM   #2
kovert
LQ Newbie
 
Registered: Jul 2006
Distribution: CentOS 4, Ubuntu 7.04
Posts: 6

Rep: Reputation: 0
Your router is running a FTP on its external (WAN/Internet) port? I'd try turning it off first. If you can't just configure the FTP to run on a different port.
 
Old 09-02-2006, 11:21 PM   #3
greeklegend
Member
 
Registered: Feb 2006
Location: At a computer
Distribution: Ubuntu 7.04, LFS 6.3 rc1 (living dangerously ;), Windows XP
Posts: 75

Original Poster
Rep: Reputation: 15
Yes, definetly running FTP on the WAN port (try connecting to n00b.homelinux.com through FTP; if my dns is current you'll be prompted to login). And i've got no idea how to turn it off; it's NOWHERE in the web interface, and i've read here http://www.beyondlogic.org/nb5/ that the FTP server is a part of the bootloader. Still, i don't know why it won't forward the FTP port to my PC, seeing as how it has a HTTP server as well (the web interface) and forwards this fine.
 
Old 09-06-2006, 03:37 AM   #4
kovert
LQ Newbie
 
Registered: Jul 2006
Distribution: CentOS 4, Ubuntu 7.04
Posts: 6

Rep: Reputation: 0
Very strange. I connected via FTP, HTTP and TELNET. I tried with SSH but no luck. I was just wondering the HTTP is internal correct? or is that running on the router as well? I'd suggest telnet/ssh to login to your router and looking in the /etc/init.d/ directory if it exists. It should have a bunch of scripts that are run at boot up for the services hopefully there will be one labed FTP or similar and you can then stop the service with "/etc/init.d/ftp stop". That is assuming there was a file called ftp.
 
Old 09-07-2006, 04:10 AM   #5
greeklegend
Member
 
Registered: Feb 2006
Location: At a computer
Distribution: Ubuntu 7.04, LFS 6.3 rc1 (living dangerously ;), Windows XP
Posts: 75

Original Poster
Rep: Reputation: 15
That's a good idea, if i could delete the startup entry for the ftp server, that'd be nice.
Problem is, it looks like it's a part of the bootloader according to that article. And even it it's not, / is a read-only squashfs (and /var is a ramdisk i can write to). I want to run a ftp server, but not so badly that I want to hack my firmware or something h4x0r like that. Any other suggestions or should I give up?
 
Old 09-09-2006, 02:20 PM   #6
kovert
LQ Newbie
 
Registered: Jul 2006
Distribution: CentOS 4, Ubuntu 7.04
Posts: 6

Rep: Reputation: 0
You can always setup the server to use a different port...I guess that is what I would try to do.
 
Old 09-10-2006, 02:41 AM   #7
greeklegend
Member
 
Registered: Feb 2006
Location: At a computer
Distribution: Ubuntu 7.04, LFS 6.3 rc1 (living dangerously ;), Windows XP
Posts: 75

Original Poster
Rep: Reputation: 15
Wow. Why didn't I think of that lol. Works perfectly now, thanks guys
 
  


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
Allowing SSH from Internet via router port forward. gboutwel SUSE / openSUSE 5 05-09-2006 10:59 PM
iptables - change port and forward to a internal server leandrok Linux - Networking 0 01-16-2004 09:52 AM
Port forward ftp to windoz server (lan) dulaus Linux - Networking 6 06-11-2003 03:08 PM
Forward port port 80 to lan web server dulaus Linux - Networking 9 10-04-2002 03:45 AM
apache, port-forward and router on same box quickbeam Linux - Networking 2 05-14-2002 08:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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