Suspected Networking Problem with Ubuntu Server 10.04lts
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Suspected Networking Problem with Ubuntu Server 10.04lts
Having a bit of an issue connecting to my apache2 server. I'm running Ubuntu Server 10.04lts. I can only connect to my website via ip address global, ip address local, and the dyndns domain I have linked to my ip address. I have DMZ setup for my server with a local static address of 192.168.1.100. I can only connect to the default apache page via lan, and It wont load when I try via proxy. Help please, lol. I need to know how to configure my router (wndr3300) so that I can connect to my server (address 192.168.1.100) and the pages from outside of my network. Thanks!
Last edited by amgenhammer; 09-12-2010 at 06:25 PM.
Reason: Clarifying that this does belong in networking. Question about network config, not about apache
I can only connect to my website via ip address global, ip address local, and the dyndns domain I have linked to my ip address.
This seems like exactly what you want... how else do you want to access it?
Check your apache configuration to make sure it's listening on all IP addresses.
By the way, it's a much better idea to simply forward the ports you need to forward to your web server. 80, 443, 22, whatever. More secure and simpler this way.
The way your DMZ setup will work is this. All ports not already forwarded will be forwarded to your web server. You will only be able to access it (outside your network) using the same IP your router has, your global IP for every computer on that network. All of your machines connected to the router appear to have one IP address to every computer outside your router.
Still a no-go. I used the ports.conf default Listen 80 and changed it to Listen 192.168.1.100:80 but it still wont connect. Maybe a port issue? Do i need port forwarding enabled as well?
Often people answer networking questions and totally confuse the asker by not explaining, so I will try to illustrate very clearly.
You have your webserver local address 192.168.1.100. This is only accessible by machines on your local subnet.
You have your global address 50.1.1.1. 50.1.1.1 routes to your router from anywhere on the internet.
Without DMZ or any ports forwarded, all incoming connections to 50.1.1.1 are dropped by your router's firewall.
Right now, on your LAN when you trying to access 102.168.1.100, it works fine, right?
Go into your router configuration, forward port 80 to 192.168.1.100.
Turn off DMZ completely.
You should now be able to access http://50.1.1.1 and it should be your webpage, assuming you don't have any sort of firewall setup on your server.
One note to MJBoa's post. You will probably not be able to access http://50.1.1.1 from your LAN. This is called NAT Reflection and most routers get rather confused and will fail to do it, so you will need to test from some other internet point (a smart phone not connected to your WIFI for example).
Okay, I followed your instructions. Still a no-go. With DMZ disabled and portforwarding enabled, there is NO connection at all, inside lan or out. Any suggestions? The router is WNDR3300 if that helps. I have port 80 configured on apache and port forward.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.