LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-30-2005, 12:46 PM   #1
Falafel
Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Fedora
Posts: 43

Rep: Reputation: 15
howto access webserver from internal network?


Hey all!

My problem:

I use m0n0wall (or monowall?) as router for my network.
I have recently set up a webserver in my internal network and used the portforwarding in m0n0wall to be able to access the server from the internet.

The problem is that I cant acess the server from other computers in the internal network (by typing www.example.com in IE) and I can't figure out why. If i type www.example.com from a friends house I get to the right page, but if I do the same at home it doesn't work!



Is there anyway to solve this?

Any help is appreciated!
 
Old 10-30-2005, 01:26 PM   #2
tdob
LQ Newbie
 
Registered: Oct 2005
Posts: 16

Rep: Reputation: 0
Cant you just type the servers IP Address? Like 192.168.1.xx?

Are you using Dynamic DNS?
 
Old 10-30-2005, 01:29 PM   #3
nistelrooy
Member
 
Registered: Oct 2003
Location: Singapore
Distribution: debian
Posts: 162

Rep: Reputation: 30
Re: howto access webserver from internal network?

Hi there

This is a known issue in monowall. Guess it's NAT problems. I've been subscribing to their mono-mailing-list for quite a while.

There's a solution you can solve it which is to DNS bind www.example.com in your internal network, to the internal address of your web server.

Cheerios.
 
Old 10-30-2005, 02:58 PM   #4
Falafel
Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Fedora
Posts: 43

Original Poster
Rep: Reputation: 15
thanks for the reply!

is there a way to do the DNS bind in m0n0wall or do I need to setup a DNS server in my network?

thanks again!

tdob: yes i'm using dyndns and by some reason it doesn't work to type just the ip

Last edited by Falafel; 10-30-2005 at 02:59 PM.
 
Old 10-31-2005, 09:30 AM   #5
nistelrooy
Member
 
Registered: Oct 2003
Location: Singapore
Distribution: debian
Posts: 162

Rep: Reputation: 30
Quote:
Originally posted by Falafel
thanks for the reply!

is there a way to do the DNS bind in m0n0wall or do I need to setup a DNS server in my network?

thanks again!

tdob: yes i'm using dyndns and by some reason it doesn't work to type just the ip
Hi there,

dnsmasq is already installed in monowall, which can do your basic dns binds (e.g, my.dyndns.org to 192.168.0.5. Explore the options in monowall to look for it. If not look into monowall documentations.

you dont need any dns servers on your network.
 
Old 11-01-2005, 08:45 AM   #6
Falafel
Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Fedora
Posts: 43

Original Poster
Rep: Reputation: 15
Thanks again! i found it in monowall under "dns forwards" or something!

Now everything works fine! THANKS!
 
Old 11-01-2005, 02:18 PM   #7
nistelrooy
Member
 
Registered: Oct 2003
Location: Singapore
Distribution: debian
Posts: 162

Rep: Reputation: 30
Cheers
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot access Apache webserver from internal network, but I can from outside... cj_thomas Linux - Networking 8 10-18-2004 01:18 AM
can't browse my webserver from internal network enzolabrador Linux - Networking 8 08-30-2004 12:27 PM
Seeing webserver from internal network NetAX Linux - Networking 2 07-09-2004 10:03 AM
Can't access webserver IN network (slackware/apache) hcubed Linux - Networking 5 04-14-2004 04:20 PM
IPtables - cannot access internal webserver tantric Linux - Security 3 03-17-2004 02:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration