I’ve installed 11.4 openSUSE. I’ve got an router installed between the server and the telephone line. I’ve tried to setup an Apache2 server. When I look at localhost, my web page comes up. When I try to connect to the server from an outside computer, I cannot connect. I’ve setup the firewall for warnings only to see if I can resolve the issue, but no luck. I even looked at the router to see if it is blocking and it does not appear to be. I used the same setup on 11.3 and was successful. Can anyone give me a clue?
Thanks
Dave
On 04/21/2011 06:36 PM, mojavedave wrote:
>
> I’ve installed 11.4 openSUSE. I’ve got an router installed between the
> server and the telephone line. I’ve tried to setup an Apache2 server.
> When I look at localhost, my web page comes up. When I try to connect
> to the server from an outside computer, I cannot connect. I’ve setup
> the firewall for warnings only to see if I can resolve the issue, but no
> luck. I even looked at the router to see if it is blocking and it does
> not appear to be. I used the same setup on 11.3 and was successful. Can
> anyone give me a clue?
Does your router implement NAT? If the IP address for your computer is
192.168.X.X or 10.X.X.X, then it does. In that case, you will need to configure
your router to forward port 80 to the box running Apache. How you do that will
depend on the router.
Look into the manual of your router and search for port forwarding or
similar. Many routers have a web interface, how to access that depends of
course on the router.
For example mine can be accessed from a connected computer with fritz.box or
192.168.178.1 by default others as far as I remember by 192.168.1.2 or
similar, this is documented in its manual.
When you are in the web interface there is a page with network or port or
security in its menu and you have to look through it to find where you can
make settings to forward ports from a local machine to the rest of the
universe.
Be very careful you make your local network accessible to the internet (of
course only the apache server but that is enough if someone hacks it).
Make sure that you know what you do.
–
PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.1 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
ION | 3GB Ram
I just checked my router and it does have port forwarding, which I have enabled for http and ftp. I also made sure that my computer (I have several computers on this router) is the address for the server in the router.
So it worked?
If not try pinging something outside of your network to make sure it’s not a DNS problem.
OK, I found the answer. I had the wrong address for my server. I was using the internal IP address behind the router, not the IP my ISP provided. Everything works as advertised.
A very good source for information and some very useful tools to check out a http server behind a router can be found at DynDNS.com Customer Support Center.