Hi,
well, you first set the ADSL in Slackware, see the ADSL HOWTO for documentation on how to do that. Second, edit /etc/rc.d/rc.inet1 and set NETMASK to the netmask you want (you can also configure the IP in that same file).
Enable ip forwarding with
echo 1 > /proc/sys/net/ipv4/ip_forward
And configure your firewall to masquerade the internal lan. You do that with:
iptables -A FORWARD -o ppp+ -j MASQUERADE
which means, masquerade any packet going out thru any ppp<something> interface (where <something> may be 0, 1, etc..
I think you are done with that.
-- Gway
|