LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   firewall, webserver and registered domain problem, i think (https://www.linuxquestions.org/questions/linux-networking-3/firewall-webserver-and-registered-domain-problem-i-think-27797/)

tharris 08-12-2002 08:15 PM

firewall, webserver and registered domain problem, i think
 
This is kinda weird, and I didn't know how to explain it in the subject. But the situation is this. I have registered a domain and set it up to point to my firewall. I have port 80 fowarded to my linux box which is running apache and other services. Now this is where it gets weird, and where i need your help.

From any machine behind my firewall (using BBIagent http://www.bbiagent.net) I have to access the webserver using my IP address. I cannot access the server using the registred domain name. But others outside of my lan can access the domain and so can i when I am at work. I can connect to my webserver using both the ip adress and the registerd domain name.

Is there something ineed to do in my resolv.conf or something for my machines behind the firewall to be able to connect to the webserver using my domain name?

Thanks in advance

tharris

peter_robb 08-13-2002 04:41 AM

Question..
Can you ping www.xxx from inside the LAN?

If you get no ip resolved from the ping, you are looking at a DNS problem.
Regards,
Peter.

tharris 08-13-2002 05:56 AM

The plot thickens ....

Yes I can Ping my www.xxx from inside the lan ... no lost packets and no time outs ... but if i open a browser and put the url in it ... i get nothing.

tharris

peter_robb 08-13-2002 08:04 AM

Maybe,
your httpd.conf says to bind to an interface.
But dns should still give you the external number unless you are proxying somehow...
Can you give me some more lan structure details please, ficticious numbers ok.

Regards,
Peter

peter_robb 08-14-2002 04:11 AM

I've had a close look at the bbiagent software, and unless you have root access to the system, it seems quite a difficult firewall to modify.
I can't even work out whether there is a proxy running in it or not.
They inply yes, because they ask you to disable proxy settings for web admin access.
Hmmmm???
I think your prob lies there, in the firewall proxy rules...

Good Luck..
Peter.

tharris 08-14-2002 05:46 AM

peter_robb: man i appreciate that ... one dayi'm going to be smart enough to setup my own firewall using my debian box. I am looking at the firewall rules now for bbiagent.

thanks a lot

tharris 08-14-2002 06:01 AM

P R O B L E M S O L V E D!!!

I had to add an entry under BBIAgent under there hosts sections to point 192.168.2.5 to my domain

thanks for the insite peter_robb

tharris

peter_robb 08-14-2002 09:05 AM

:D


All times are GMT -5. The time now is 12:40 PM.