[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: activating ipchains & ip masqurading ...



Jamin W. Collins wrote:
> On Tue, 28 May 2002 15:02:24 +0200
> "Marcus Przyklink" <downhill@uchusphere.de> wrote:
> 
> > Well, seems that he wants just ip-masquerading, then i would recommend
> > install a newer kernel (2.4.x) and do it with iptables. I have a simple
> > script to activate ip-masquerading and let the LAN connect to the
> > internet:
> > 
> > wotan:~ # cat masquerading 
> > iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
> > echo 1 >/proc/sys/net/ipv4/ip_forward
> 
> I trust you understand just how insecure that script is, right?

I think for a home-LAN, say a trusted LAN, it's ok, and I've understood
that the question was for such a LAN to connect to the internet.
If I got something wrong, one way or the other, please correct me.

-- 
There are only two ways to live your life. One is as though nothing
is a miracle. The other is as though everything ist.
  [Albert Einstein]


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: