Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Right now I have an apache server I connect to by typing 192.168.1.100 (so I am behind a router). How would I let people on the outside connect to my server using my real IP address The server is not on the computer thats directly connected to the router, that shouldn't be a problem.
Is there anything I need to do to allow this? Because right now the request times out. Thanks.
Many a times, I've come across a line bit similar to this one on LQ...
Quote:
Forward port 80 from the router to your internal server and its IP address.
Which are the files that I would need to modify and how exactly is this port forwarding done ?... I'm not aware of how to go about forwarding a particular port to a machine on the LAN..so, I'd appreciate if you could provide some more details about the exact procedure...
Instructions on how to do port forwarding are hard to give since each brand of router has a different way of doing this. As outlined above many routers allow you to access a configuration screen by using your browser to go to the gateway, which is located at http://192.168.1.1/ for my router.
My router is a Linksys and there is a tab for port forwarding on the configuration screen. From there you put in what port you want to forward and to what IP address you want the port forwarded, usually 192.168.1.100 if only one computer is hooked to the router.
Well...I guess you are talking about third party routers or may be hardware routers ( which are especially developed to function as a router )..for example, cisco, dell, linksys...
However, I asked that question with regard to a linux machine configured as router..I can configure my linux box as a router by adding a virtual interface (eth0:1)...In that scenario, how will I forward port 80 from the router to the internal apache server?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.