Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
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.
Distribution: OpenSuSe 10.2 (Home and Laptop) CentOS 5.0 (Server)
Posts: 171
Rep:
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.
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!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.