Apache through NAT Learning Curve

Apache through NAT Learning Curve

Post by oscar tea » Tue, 25 Dec 2001 17:32:24



Hi,

I am having some trouble digesting info on running Apache behind a DSL
Router using NAT.

Equip/Software: AMD Server running Mandrake 8.1,
                Apach 1.3.22
                Static IP from ISP

Steps Taken:    NIC loaded at Bootup
                Apache Loaded at Bootup
                NAT on Router set to open TCP Port 80 & 8080
                httpd.conf listening on 192.168.X.X:80
                Servername: (HOST NAME).(Domain).com
                Tested LAN from another machine. OK            

Im a little confused about NAT and TCP. I have several books on
Networking ie.. Linux Networking Servers 24 Seven and several
O'Reileys Linux Networking...
I just cant get the info Im reading to "Gel".

Now, this is where I need direction:
To complete my connection do I use ipchains here to complete the route
from DSL Modem to eth0 on server?

Thankyou in advance of any help you can give me.

Bill Hubner
Just another step in getting my company off bloatware.

 
 
 

Apache through NAT Learning Curve

Post by Eric P. McC » Tue, 25 Dec 2001 17:54:40



> Now, this is where I need direction:
> To complete my connection do I use ipchains here to complete the route
> from DSL Modem to eth0 on server?

No.

--

"I woke up this morning and realized what the game needed: pirates,
pimps, and gay furries."  - Rich "Lowtax" Kyanka

 
 
 

Apache through NAT Learning Curve

Post by Dean Thompso » Tue, 25 Dec 2001 23:07:32


Hi!,


> Hi,

> I am having some trouble digesting info on running Apache behind a DSL
> Router using NAT.

> Equip/Software: AMD Server running Mandrake 8.1,
>                 Apach 1.3.22
>                 Static IP from ISP

> Steps Taken:    NIC loaded at Bootup
>                 Apache Loaded at Bootup
>                 NAT on Router set to open TCP Port 80 & 8080
>                 httpd.conf listening on 192.168.X.X:80
>                 Servername: (HOST NAME).(Domain).com
>                 Tested LAN from another machine. OK

> Im a little confused about NAT and TCP. I have several books on
> Networking ie.. Linux Networking Servers 24 Seven and several
> O'Reileys Linux Networking...
> I just cant get the info Im reading to "Gel".

> Now, this is where I need direction:
> To complete my connection do I use ipchains here to complete the route
> from DSL Modem to eth0 on server?

> Thankyou in advance of any help you can give me.

In your case, I presume the web server is actually sitting on the inside of
the network with an address of 192.168.x.y.  As a result, you will need to
consult your router manual and get it to do port forwarding for you.
Bascailly, you will need to tell it that any incoming traffic on port 80 to
it, needs to be forwarded to port 80 on 192.168.x.y machine.

Additionally, check to make sure that Mandrake 8.1 didn't deploy any firewalls
which would be blocking access to port 80 from the outside.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

 
 
 

1. Linux- Steep Learning Curves???

I keep hearing about the problem with Unix vs NT being the steep learning
curve of Unix, while NT makes everything so damned easy.  Two years ago I
for the first time laid my eyes on Linux.  It's now my OS of choice.

Take for example the typical use of the OS:  
NT:
  Switch on the power
  Wait...
  Log in
  Find the Icon you want
  Double click on it
  Wait :-)
  Play application application
  Save your work
  Log out

Linux:
  It's still running
  Log in
  Type the name of the app you want
  Play application application
  Save your work
  Log out

I am deliberately ignoring the installation, since this requires some
know-how regardless of the OS. (NT is worse to install and takes longer
than Linux - so there! :-)

Now: in which way is NT easier to learn than Linux???  IMHO placing a
Linux machine in front of a secretary and asking her to run Lyx and do
some typing for me is as simple as doing the same with NT- with the
exception that NT is probably a little more difficult to administer.

Yeah - Linux lacks some office apps.  That's not the point!  It's as easy
to use as the next thing.  So stop all this nonsense about "Unix needs a
guru to drive it" stuff every time someone has a decent point to make
about the OS.

Paul.

2. Installing Slackware 2.2.0 / Bootkernel too big for 1.2meg floppy

3. dns server - cost & learning curve

4. serial stuff

5. Aix Learning Curve?

6. COURIER ISDN with LINUX

7. Near vertical learning curve, eek!

8. Solaris 7: How to Switch Domains?

9. Learning curve (newbie)

10. What justifies the learning curve of emacs ?

11. learning curve: why doesn't synaesthesia work?

12. Help. Big Learning Curve.

13. display remote X thru NAT gateway?