Find the answer to your Linux question:
Results 1 to 3 of 3
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2004
    Posts
    1

    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

  2. #2
    Just Joined!
    Join Date
    Nov 2004
    Location
    /dev/null
    Posts
    5
    i would say routed...but i don't know much about it...so try a google or maybe someone else can help...?

  3. #3
    Just Joined!
    Join Date
    Nov 2004
    Posts
    10

    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.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •