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.
hey all, I have a shared internet connection on my network. My network consists of 2 windows boxes and 1 linux box. The internet works fine on all computers and apache works on the computer that hosts the internet connection. What I'm trying to do is get apache running on my linux box but I don't know how to set it up so other people can see my website. Like I have apache running and set up on my linux box and test it out internally using 127.0.0.1 but when I go to test it out using my internet IP it says it can't connect to host, same goes for others who try to connect. Is there a way I need to configure apache for it to work with a shared connection?? I'm also using no-ip ip updater to update my ip address.
they're connected with a DSL Modem and the network is connected with just a switch, all harware and software firewalls have been shut off to try and make this easier. My network is just a home LAN Network, my main windows box hosts the internet connection and it's shared on the network. When I installed linux it seemed to have picked up the connection and I'm able to surf the internet with it (sorry I'm a semi-newb when it comes to linux).
I did notice that when I have my linux box and I go to http://www.whatismyip.com/ I get the same ip as the windows box who's sharing the internet connection.
Since your windows box has the public ip address you will need to forward port 80 from the windows box to port 80 on the linux box. There are a number of programs to do this such as AnalogX portmapper: http://www.analogx.com/contents/down...rk/pmapper.htm
Then anyone outside your network should be able to access your site via the ip address you get from http://www.whatismyip.com/
wow ok I downloaded the portmapper prog but I have no idea how to set that up, if I do set it up and redirect port 80 to my linux box is that gonna screw things up on my windows box surfing and downloading-wise on the internet?
also if I'm running more than one service on my linux box like game servers and such would port forwarding cause lag?
Originally posted by Goblin82 wow ok I downloaded the portmapper prog but I have no idea how to set that up, if I do set it up and redirect port 80 to my linux box is that gonna screw things up on my windows box surfing and downloading-wise on the internet?
No, it will only affect incomming connections. Just enter 80 in the port boxes and the local ip address of your linux box in the destination address.
Quote:
Originally posted by Goblin82 also if I'm running more than one service on my linux box like game servers and such would port forwarding cause lag?
Port forwarding itself wouldn't cause a lag but the more data you transmit over your network the slower it is likely to be.
alright now how do I get the ip of my linux box? I tried running ifconfig but the only ip I get is the internal one (127.0.0.1). I tried ping with my windows box but I have no idea what's the name of my linux box... lol I'm such a newb..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.