It depends on several things you haven't told us.

First, do you already have the "dialup" machine set up as a router? I'll
assume you do.

Second, is it doing firewalling &/or Masq'ing now? Probably.

Third, what kernel is it using? 2.0.x and 2.2.x kernels are VERY different
in how they handle all routing/firewalling.NAT'ing stuff.

Assming my guesses are right about 1 and 2, you use either ipportfw (2.0.x)
or ipmasqadm (2.2.x) to set this up. An example ipfwadm entry would be:

        ipportfw -A -t 1.2.3.4 /80 -R 192.168.1.42/80

(replacing 1.2.3.4 with the external interface address and 192.168.1.42 with
the internal address of your Web server).

The man pages for ipfwadm or ipmasqadm will give you useful help, as will
the various HowTos: Firewall, Ipchains, IP Masquerading, I think Ipfwadm.
Check for them at www.linuxdoc.org .

At 04:02 AM 7/10/00 +0930, Pete wrote:
>I suppose the answer to this is simple but ...
>
>I want to route external http requests sent my Linux dialup machine, to a
>web server on my second (internal)machine.
>
>How would I tell my Linux machine to send all requests on port 80 to my
>other machine ?
>
>I want to setup a web server on my local network but I don't want it running
>on my dialout machine.


--
------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
Palo Alto, CA                                    [EMAIL PROTECTED]        
----------------------------------------------------------------


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to