On Sat, Nov 14, 1998 at 10:09:27AM -0800, Bill Schoolcraft wrote:
> (I'm a machinist by trade so please excuse my mechanical thinking.)
>
>
> Hello,
> I've been stumped here for a week and have been reading how every one
> has their other machines all accessing the web through one primary box
> via the IP Masq technique. (which is my dream)
>
> I have a Linux Red Hat 5.1 network here at home, all three boxes ping
> in any direction, no packet loss. I can also login onto the web via my
> primay box THEN telnet from any other box here at home to the PRIMARY
> box then to the the shell account I have at the local community
> college and check my email, no problem.
>
> I also have no security needs per-se' for this is just a home machine
> needed for web access.
>
> I have all the "scripts" components from "Linux Network Toolkit, by
> SERY" and when I run his ( hopefully edited correctly for my system)
> _firewall.rules_ script I get the current IP assinged to me displayed
> to me. I've kept track of these outputs and the address I get is
> different each time which is consistent with the nature of a
> dynamically assinged address.
>
> NOW, when I logon to my ISP, all the machinery is in place, running,
> and I've run the _firewall.rules_ script and my currently IP address
> is displayed I run down the hall to my laptop, (which is the one
> running Red Hat 5.1 that I use to "hop" my primary box to check my
> shell account at the college) and go to fire up the default Red Hat
> browser Netscape 4.05 and get ZILCH.
>
> From a logical/machinery point of view, how does Netscape know where
> to LOOK for it's opening to the Internet?
The machines on your internal network must have the address of the masquerading
box's internal interface (192.168.7.1) set as the default gateway. This tells
them to send any network packets that are not destined for a box on the local
network to your masquerading box, which knows how to forward them where they
need to go. You didn't mention what operating system you're running on your
internal network; if it's some flavor of Windows, you'd set the default gateway
via the network control panel.
> (question 2) Don't I have to direct Netscape (on mylaptop) via it's
> *preferences* to go to my 192.168.7.1 (in house primay box) to access
> the web?
No--routing happens at a lower level, and Netscape doesn't need (or want) to
know anything about it. Once you set the default gateway, all network
applications on your internal machines should be able to communicate with the
outside world.
> I've had people tell my to try SLIRP, Apache as a proxy server etc
> but I feel I'm sooooooo close here. :(
If you already have a PPP or other network connection to the outside world then
there's no reason to be screwing around with SLIRP, and if you get masquerading
working you don't need a web proxy.
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]