LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-04-2006, 11:14 AM   #1
rajnair0278
Member
 
Registered: Mar 2006
Posts: 62

Rep: Reputation: 15
Angry Enable FTP Connectivity on Linux


Hello Folks, one doubt. I have my website hosted on 192.168.1.77 mapped to a unique ip xxx.xxx.xxx.xxx 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 192.168.1.77 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, 11:23 AM   #2
JakeX
Member
 
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 192.168.1.77 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, 11:46 AM   #3
augurseer
Member
 
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, 06:11 PM   #4
vimal
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, 01:32 AM   #5
rajnair0278
Member
 
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, 09:11 AM   #6
augurseer
Member
 
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
 
  


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

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

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