🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.setup
Article #562

Re: Setting up internal network connected to internet

#562
From: Mike Welch
Date: Mon, 08 Sep 1997 00:00
35 lines
2239 bytes
Peter Rye <prye@picu-sgh.demon.co.uk> writes:

> steve@better.demon.co.uk (s t) writes:
> 
> > In article <VZ1RSBAbyvE0Ew6u@jimsmith.demon.co.uk>, Jim Smith wrote:
> > >I am trying to set up an internal network (at home) with access to the
> > >internet.  This is more of an exercise for my interest rather than an
> > >attempt to do something serious. 
> > >
> > >Is what I am trying possible? If so what I am doing wrong?
> > 
> > What you need to do is set up IP masquerading. Some details are
> > available in the NET-2-HOWTO.
> 
> What he really needs to do is recompile the kernel with IP
> forwarding enabled.  IP masquerading might be necessary if he wants
> the other machine to appear as though it has the same IP address as
> his directly connected machine.

No, what he needs to do *is* compile with IP masquerading. He said he
was using 10.* as his IP address which is the reserved class A I
believe, so without masquerading his packets will be dropped at the
first sensible router. Plus of course forwarding packets out onto the
internet with IP numbers that aren't yours is a bad move anyway.

A useful resource is
http://www.xos.nl/linux/ipfwadm/paper/linuxfw.html 
which explains quite clearly how firewalling and masquerading work
under Linux.

Bye

-- 
Mike Welch                                 http://www.tara.demon.co.uk/
Technical Details
Message-ID: <m34t7vwps4.fsf@rhet.tara.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <VZ1RSBAbyvE0Ew6u@jimsmith.demon.co.uk> <slrn61644o.4q.steve@better.demon.co.uk> <m3en70utmy.fsf@picu-sgh.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1103af,2e250a3f23b991bf
X-Google-Attributes: gid1103af,public
X-Google-Thread: f9b51,2e250a3f23b991bf
X-Google-Attributes: gidf9b51,public
X-Google-Thread: 108f6a,2e250a3f23b991bf
X-Google-Attributes: gid108f6a,public
X-Google-Thread: fac57,2e250a3f23b991bf
X-Google-Attributes: gidfac57,public
From: Mike Welch <mike@tara.demon.co.uk>
Subject: Re: Setting up internal network connected to internet
Date: 1997/09/08
Message-ID: <m34t7vwps4.fsf@rhet.tara.net>
X-Deja-AN: 271062703
Sender: mike@rhet.tara.net
References: <VZ1RSBAbyvE0Ew6u@jimsmith.demon.co.uk> <slrn61644o.4q.steve@better.demon.co.uk> <m3en70utmy.fsf@picu-sgh.demon.co.uk>
X-NNTP-Posting-Host: tara.demon.co.uk [158.152.104.222]
Newsgroups: comp.os.linux.setup,comp.os.linux.misc,demon.ip.support.unix,demon.tech.unix