GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
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.
I have installed Suse 10 on my machine and congfigured apache and php.
Now the problem is I have a DSL modem and when I type in my browser my IP it opens me my DSL modem config page (I got my ip from whatismyip.com). How to make that when I type in my IP to get to my computer.
Moved: This thread is more suitable in <General> since it's about setting up a router, and has been moved accordingly to help your thread/question get the exposure it deserves.
What you need to do is to set-up port forwarding
on your router device ... and you may want to change the
routers set-up to disallow set-up from the internet ;}
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
If I understand this correctly you want to see your web server from the machine itself or another lan machine from inside your lan using your external IP. Then Tinkster is right. Got this link thanks to Capt Caveman http://iptables-tutorial.frozentux.n...tml#DNATTARGET
What has ssh got to do with your browser?! How does
going to the apache via the router internally give you
the ability to access the machine via ssh from the outside?
I strongly suggest that you do some basic reading
about networks mate...
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Easiest way to test is from internal is use your client to access the sshd server with the internal machine. Then from the outside use the wan IP. Since you are using 10.x.x.x as your internal lan then there is router on the modem. It needs to port forward the port of 22 from outside IP to the inside lan IP. Now you will want the linux machine to have a static IP and not a dynamic IP. This way the portforward will always go to the correct machine.
Now also if the linux machine has a firewall of itself it needs to open port 22 to it.
Next, once the sshd is up, there is no port blocking of a firewall on the linux box, port-forwarding on the modem/router has been defined. Then and external IP access port 22 should be directed to linux ssh server.
Now you may still not be able to use your external IP from inside your 10.x.x.x network do to limitations of these simple devices. You may only be able to get to it from its internal ip from inside your own network.
Last thing that can happen. Some Service Providers block the common ports to stop there customers from using there machine as a server. They ususally block the comman ports. So what you may have to do is from the internet type in your external IP and use a port number of say 10000 instead of 22. Now all that has to be changed is the router. Just set so that when it gets a connection to 10000 port on the wan side that it is portforwarded to the lan IP and using port 22.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.