Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
Click Here to receive this Complete Guide absolutely free.
Lets say that I have apache running on the linux box in my bedroom, and lets say that I have a phpBB forum running on the aforementioned server. I can visit the forum using the other computer on my network by typing 192.168.2.2.
As I understand it, this is the IP my router chose for that comp.
My question is, can I get my IP from a site like whatismyip.com and type that in and be able to view my forum?
I went to my router setting and added this in my "Virtual Servers" page:
Umm, Just thinking off the top of my head but I would say no, because the router takes the IP address from the internet and makes your home network. SO it takes 22.214.171.124 and then gives the home network 192.168.2.2 and 192.168.2.X for the other computer. This means that while on your home network you can type in the IP address and get to your computer. SO if you wanted other people, outside of your home network, to just type in the IP address, I think, you would have to have them type in your static internet IP address ie 126.96.36.199 or whatever it is and then have some 'IP forwarding' system to redirect them to 192.168.2.2.
Thats what I did. I went into my router settings at made it foward port 80 to 192.168.2.2
Apache says it is using port 80, also. I know I can't type in 192.168.2.2 from an outside computer, lol. When I type in my ACTUAL IP, it takes me to my router settings.
My router is 192.168.2.1. Maybe because it is the first IP, thats why it goes to it automatically?
I've been looking around the internet and appearently a lot of ISPs block port 80 for security reasons. Maybe I have to set it up using a different port?
You could sign up for a free webspace and direct that to your web server. SO it's just http://www.yourforum.com
I know some people do, do that because I have a friend who does it, I'll ask and find out the name for you.
lol, ok you'll probably hit me for suggesting this but just making sure. Have you made sure that the forum computer has a static IP address set up?
Also I would try one last thing if you take the router out, and place the forum comp directly on the web does it then allow you to type in it's IP address and get to the forum?
I was just looking at my settings on my router and yea it really should have worked. I mean the router is always going to be the 1st [ 192.168.x.1 ] . You know I'm really sorry for messing up your thread, but I'll point you to a really good (but long) network and http set up How to: http://aboutdebian.com/network.htm
ok then 1st is 1st I would go into the router and make the forum computer static, if your lucky enough to have a netgear I can tell you exactly how, otherwise I'm sorry. The reason that the DSL needs to be static is becasue otherwise the forum keeps changing it's address. To be just a little over simplified about it, it's like your house moving from china to florida just because you decided to 'load' up your house. I know that with my cable my IP address does not change too much, ie it changes when my router has to be reset. Having said that there is a way to still do it useing something like DynamicDNS [ http://www.dyndns.com/ ]. But I don't really understand all of that. SORRY
How to keep it static all the time, umm I think you pay for that.
umm also thought of one more thing is your firewall open?
there is another page that I found which is pretty good it's