Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-02-2006, 02:03 AM
|
#1
|
Member
Registered: Feb 2006
Location: At a computer
Distribution: Ubuntu 7.04, LFS 6.3 rc1 (living dangerously ;), Windows XP
Posts: 75
Rep:
|
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
|
|
|
09-02-2006, 02:34 AM
|
#2
|
LQ Newbie
Registered: Jul 2006
Distribution: CentOS 4, Ubuntu 7.04
Posts: 6
Rep:
|
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.
|
|
|
09-02-2006, 11:21 PM
|
#3
|
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:
|
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.
|
|
|
09-06-2006, 03:37 AM
|
#4
|
LQ Newbie
Registered: Jul 2006
Distribution: CentOS 4, Ubuntu 7.04
Posts: 6
Rep:
|
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.
|
|
|
09-07-2006, 04:10 AM
|
#5
|
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:
|
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?
|
|
|
09-09-2006, 02:20 PM
|
#6
|
LQ Newbie
Registered: Jul 2006
Distribution: CentOS 4, Ubuntu 7.04
Posts: 6
Rep:
|
You can always setup the server to use a different port...I guess that is what I would try to do.
|
|
|
09-10-2006, 02:41 AM
|
#7
|
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:
|
Wow. Why didn't I think of that lol. Works perfectly now, thanks guys
|
|
|
All times are GMT -5. The time now is 04:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|