Networking Forums

Networking Forums > Computer Networking > Linux Networking > NAT and http server in LAN

Reply
Thread Tools Display Modes

NAT and http server in LAN

 
 
l
Guest
Posts: n/a

 
      05-16-2004, 12:21 AM
Hello everybody,

I am new to Linux. I would like a simple picture of how to make my httpd
server available to my LAN:

Here are the actors of my little world:

outside <--- |eth0 eth1| ----> LAN inside ~~~~~~ httpLinuxInside



I use Arno script to do NAT: it forward eth1 traffic to httpLinuxInside
(it works for outside users)

How can I use http://my.domainname/ from any computer inside LAN?
Right now I have to use the private IP to access the httpLinuxInside.
What are the major steps (1,2...) to make it work?

Thanks
Hope I was clear

Robert


 
Reply With Quote
 
 
 
 
Hactar
Guest
Posts: n/a

 
      05-16-2004, 01:03 AM
In article <(E-Mail Removed)>, l <(E-Mail Removed)> wrote:
> I am new to Linux. I would like a simple picture of how to make my httpd
> server available to my LAN:


Tell it to bind to the internal NIC (usually eth0).

> How can I use http://my.domainname/ from any computer inside LAN?


Add an association between the server and its IP address in the client's
/etc/hosts .

--
-eben (E-Mail Removed)m home.tampabay.rr.com/hactar

Logic is a systematic method of coming to
the wrong conclusion with confidence.
 
Reply With Quote
 
Michael Knaus
Guest
Posts: n/a

 
      05-16-2004, 07:13 AM
Yo have to get the name resolved to an IP. If you run
a DNS Server insider your local net, and if your clients
are configured to use ist (sometimes the dialup-router
runs a DNS and dhcp-Server, which may exchange data),
make your server name an entry in your DNS.

Instead use etc/hosts (or x:/winnt/(system32/?)etc/hosts)
to resolve the name.

Michael

l schrieb:

>Hello everybody,
>
>I am new to Linux. I would like a simple picture of how to make my
>httpd server available to my LAN:
>
>Here are the actors of my little world:
>
>outside <--- |eth0 eth1| ----> LAN inside ~~~~~~ httpLinuxInside
>
>
>
>I use Arno script to do NAT: it forward eth1 traffic to
>httpLinuxInside (it works for outside users)
>
>How can I use http://my.domainname/ from any computer inside LAN?
>Right now I have to use the private IP to access the httpLinuxInside.
>What are the major steps (1,2...) to make it work?
>
>Thanks
>Hope I was clear
>
>Robert
>


--
In Planung
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
forward http://p2p.mydomain.com to http://mydomainIP:50001/gui/index.html, is that possible? aticatac Network Routers 1 11-13-2007 12:00 AM
Only 2 Http Concurrent Connections, Server to Server, .NET Jay Douglas Windows Networking 1 04-27-2007 10:46 PM
HTTP server over internet Duende Network Routers 0 12-26-2006 11:22 PM
http server protocol Garrick Linux Networking 2 10-29-2006 09:23 AM
http server RosalieM Linux Networking 9 06-25-2004 09:31 AM



1 2 3 4 5 6 7 8 9 10 11