Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-04-2006, 12:14 PM   #1
Registered: Mar 2006
Posts: 62

Rep: Reputation: 15
Angry Enable FTP Connectivity on Linux

Hello Folks, one doubt. I have my website hosted on mapped to a unique ip on my router. The client is able to access it thru the unique ip. Now the client wants an FTP access on this machine. I mean he wants to connect to my through FTP and make changes to files kept in a particular folder. How can I go about with these steps?? Pls provide me the step by step procedure to go about with the same if you have any solution. Thx a ton.
Old 04-04-2006, 12:23 PM   #2
Registered: Aug 2004
Location: Windsor Ontario
Distribution: Ubuntu, Debian, Redhat
Posts: 44

Rep: Reputation: 15
So you're asking how to port forward from your router??
Simple, read the manual for your router... but seriously, did you even search for an answer for port forwarding? ex > google or search on lq

Heres a quick answer, port forward from router, say port 21 --> internal IP port 21
On the internal machine, setup your FTP (don't even know what you are running?)

Please do a google search next time, its port forwarding on your router.
Also we can't provide you step by step solutions if you don't go the extra mile to post details that are relevant. Sorry to flame but I just don't understand why people don't give relevant info.
Old 04-04-2006, 12:46 PM   #3
Registered: Feb 2006
Location: Canada
Distribution: OpenSuSe 10.2 (Home and Laptop) CentOS 5.0 (Server)
Posts: 171

Rep: Reputation: 30
if you are wondering what to do and use, port forward 21 to your relevent IP, make sure that the linux box at that IP has some sort of FTP SERVER!!!! software. like proftpd or vsftpd.

than make sure the needed config is done and that the users you want are premited to access ftp on that machine.

google will have all of this so will the documentation for proftpd, which can be built from source.....also rajnair was a bit harsh but he was right, posting a flat question like that isnt good, tiss better to give a lot of detials about your box and setup including router type, name brand, your kernel and distro and even if your root or not.
Old 04-04-2006, 07:11 PM   #4
Red Hat India
Registered: Nov 2004
Location: Kerala/Pune,india
Distribution: RedHat, Fedora
Posts: 260

Rep: Reputation: 36
Hello Rajnair,

You have to do port-forwarding in your router. The procedure may change according to the make of the router. If you are using a linux box as your router , then you can use iptables to enable the same. Just forward the port to your internal machine ip using NAT. You can use this command to do a redirection.

#iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 21 -j REDIRECT -d 'IP of the internal machine'.

This must be implemented in the router, ofcourse. Please write in about the results.
Old 04-05-2006, 02:32 AM   #5
Registered: Mar 2006
Posts: 62

Original Poster
Rep: Reputation: 15
Sorry folks for my mistakes. Yeah I know I should have done that. The answers I get on these forums are more personal thats why immediately post on it. Am not a networking guy so sometimes find it very difficult to search on net with the right keywords if am running short of time. Anyways will remember all this in the future.

Thx very much for the replies and consideration. Will do some checking at my end and let you guys know my status. Cheers!!
Old 04-05-2006, 10:11 AM   #6
Registered: Feb 2006
Location: Canada
Distribution: OpenSuSe 10.2 (Home and Laptop) CentOS 5.0 (Server)
Posts: 171

Rep: Reputation: 30
kool, please keep us up to date


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
Pure FTP connectivity Problems, Sus 9.3, and Router jwwatters Linux - Networking 3 07-27-2005 09:22 AM
How do I FTP enable a website? imsam Linux - Newbie 3 11-29-2004 05:05 PM
how to enable FTP service? hedaPrakash Linux - Newbie 7 07-17-2003 11:36 PM
How to enable Linux Root FTP account ?? chuck77 Linux - General 2 04-25-2003 01:13 AM
Help!!! Red hat 7.2 FTP, WEB, MAIL connectivity to the server is running slow jobesd Linux - Distributions 0 02-28-2002 04:49 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration