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
wlan0 10.20.1.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
Quote:
Originally Posted by freak_yu
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
wlan0 10.20.1.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
Well this is fairly simple. The easiest way would be to go on over to http://tldp.org and read up on IP Masqurading
http://www.tldp.org/HOWTO/Masqueradi...WTO/index.html
http://www.tldp.org/HOWTO/IP-Masquer...WTO/index.html
In short (on Slackware 10) do a
#chmod +x /etc/rc.d/rc.ip_forward
and do a
#/etc/rc.d/rc.ip_forward start
or reboot
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.