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.
|
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. |
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. |
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. |
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!! |
kool, please keep us up to date
|
All times are GMT -5. The time now is 12:06 AM. |