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.
The exact procedure for port forwarding depends on your router. Read the routers docs and if you don't understand how to forward the port, post back with exact details about your router.
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262
Rep:
You will never be able to access a 192.168.x.x ip directly from the internet. It is reserved for private networks.
To access your webserver from outside your private network, you need to connect to your router public ip and configure your router to forward port 80 to your local machine.
how to connect to my router public ip and configure it to forward port 80 to my local machine.
thank you
Post the make / model of your router. There should be instructions in the manual on how to foward a port to a specific IP address. Typically routers like DLINK use a web browser to modify their configuration.
If you don't understand me, then maybe search on the web for "port forwarding" and you may get more helpful info. If you have setup a Linux box as a router, I am sure that there are docs out there that can help you.
bondoq, please don't start multiple threads about the same issue, if you make a mistake in the first post you can edit it with the edit button in the lower right corner of the post.
Can you confirm what your network topology is - either of these or something else?
Code:
[WAN/ISP]
|
[Router] (what OS does this run or is it a hardware device?)
|
[Hub or Switch]
/ \
[PC] [Webserver]
OR
[WAN/ISP]
|
[Webserver and Router]
|
[Local Network]
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.