connecting internet to a local LAN
i have a local lan installed
the system is Slackware
and eth0 is connected to a switch and several users are connected to that switch ....
i have an wlan0 (wireless) through which also several people connect to my server
and in the end i have an
eth1 which is connected via lan cable to an wireless access point which is connected to an wireless isp ...
so i have an an eth0 10.20.10.x
eth1 10.100.200.x which is connected to an internet
on wireless acces point connected to net the default gw is 10.100.200.254
so what is the easiest way for the linux newbie to allow all user to connect to internet .. the users via wlan0 and eth0 ??? HELPPpppppppp please
Re: connecting internet to a local LAN
Well this is fairly simple. The easiest way would be to go on over to http://tldp.org and read up on IP Masqurading
Originally Posted by freak_yu
In short (on Slackware 10) do a
#chmod +x /etc/rc.d/rc.ip_forward
and do a
and grab a firewall script like Shorewall or Anro off of http://www.freshmeat.net
Oh and of course make sure all your machines have a default gateway/router set to this linux box... installing a caching name server might not be a bad idea either... see http://tldp.org for that.