Date sent:              Sun, 15 Aug 1999 15:08:50 +0000
From:                   "Andrew Morton" <[EMAIL PROTECTED]>
Organization:           Nortel Networks (via modem)
To:                     [EMAIL PROTECTED]
Subject:                Re: [expert] IP Masquerading
Send reply to:          [EMAIL PROTECTED]

As a side note, I have been successful at getting the IP masq to 
work, but have never been able to figure out how to make the 
Mandrake box automatically dial out when another machine is 
trying to access the net.

Does anyone have any information on how to accomplish this part 
of the puzzle?

Bruce



> kNIGits wrote:
> > 
> > G'day from Australia!
> 
> Me too.
> 
> > Can someone tell me if the stock standard Mandrake 6.0 kernel can do IP
> > masquerading?
> 
> Yup.  Here's the script I use:
> 
> #!/bin/sh
> echo 1 > /proc/sys/net/ipv4/ip_forward
> ipchains -P forward DENY
> ipchains -A forward -s 10.0.0.0/8 -j MASQ
> 
> This sets my net-connected Linux box (10.0.0.x) up to do forwarding to
> LAN-connected windows clients.  On the Windows box you should edit the
> network settings so that your Linux box is the default gateway. 
> Configure the Windows DNS servers straight out of /etc/resolv.conf and
> you're in business.
> 


Bruce Endries
Bruce Endries Consulting
(607) 433-2677

Reply via email to