On Sat, 20 Mar 1999, tony so wrote:
> I'm still stuck trying to get my Linux box set-up as a Gateway to the
> internet for my LAN.
>
> 5. turned on ip_forwarding in /etc/sysconfig/network
Have you done a 'cat /proc/sys/net/ipv4/ip_forward' and made sure it
equals '1' ? If not 'echo 1 > /proc/sys/net/ipv4/ip_forward'. This isn't
set automatically by any kernel configuration, and I'm sure if redhat is
doing this necessarily when you turn it on in /etc/sysconfig/network, I
don't use redhat. Its also reset at boot to 0, so make sure your start
scripts are setting this.
> 6. configured kernel to include all networking,
> forwarding, and masquerading to Y
> 7. installed modules and recompiled kernel
So you've made sure all these modules are loaded at the time the linux box
is acting as masq router right (don't trust kerneld for this)?
> 8. connected Linux to IPS via pppd
> 9. default gateway on Linux point to IPS IP addrress
pppd should be doing this for you. However you managed to muck it up, the
linux ppp machine wouldn't work either so I'm assuming you got it right.
> 10. LAN computer gateway point to Linux local IP addre
> 11. edited /etc/hosts.allow for privelege
/etc/hosts.allow shouldn't matter for simple network tests like ping and
traceroute.
>
> Problem:
> I still can't get the LAN to see past the Linux box.
Otherwise everything looks right.
-Donald Thompson
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]