New to Linux--Want my Fedora11 laptop act as a Gateway/Router for home local network
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2009
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question New to Linux--Want my Fedora11 laptop act as a Gateway/Router for home local network

    Hi guys,

    I am new to Linux and need your help in making my Fedora 11 laptop machine as a gateway/router for my home local network which can access internet through my laptop.

    i want

    My Wireless card is connected to internet directly and my my eth0 card is connected to switch and other PCs are connected to internet via switch thru my Linux machine.

    i have read few tutorials on that on internet but i was not able to make it work on my laptop as i was not able to find or locate the .conf and script files to make changes.


    guys please help... i need it urgently.


    looking forward for your help.


    thanks...
    AJ

  2. #2
    Join Date
    Apr 2005
    Location
    earth
    Posts
    1,358
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    why not just buy a regular old router?

    I have never done this and can offer chatter, so I chatter away,
    if you have to, I think there is a check box in the NetworkManager to share your connection, then you have firewall issues and SELinux to consider.

    Good Luck,
    Pat Jr.
    x--x--x
    http://www.gnu.org/philosophy/free-sw.html
    Freedom is never Free.
    Pat Jr.

  3. #3
    Join Date
    May 2005
    Location
    UK
    Posts
    256
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not done this for a while, but like PatMcLJr said, if you disabled iptables and selinux (to prevent them getting in the way, you can figure out how to re-enable them later), you just need to setup ip forwarding (edit /etc/sysctl.conf and set: net.ipv4.ip_forward = 1) and setting up the correct ip routing (man route).
    Registered Linux User #221895

  4. #4
    Join Date
    Aug 2007
    Location
    London Postbox (the red one)
    Age
    53
    Posts
    3,868
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If i remember correctly (not always) but i think if you install firestarter, it has a option to bridge/share your connections.

  5. #5
    Join Date
    Jan 2005
    Posts
    5,057
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yum install quagga squid
    gugga will defsult to the old zebra router.
    squid is a proxy server.
    You can set up many cache items.
    Make sure your laptop is a dns and dhcp sever to your local network.

    May take some reading but will work because it is a real network, not windows connect share as described by the other posts.
    The local machines can see each other and are protected by the gatway's firewall.

    SJ
    Do the Math

Similar Threads

  1. 7.2 Home Network Gateway
    By brotell in forum Using Fedora
    Replies: 0
    Last Post: 21st June 2009, 01:18 PM
  2. Replies: 1
    Last Post: 3rd November 2005, 06:18 PM
  3. Help noob setup home network using fc2 gateway/router
    By REInvestor in forum Servers & Networking
    Replies: 2
    Last Post: 29th August 2005, 04:18 AM
  4. Complete Gateway/Router for Home Use..
    By WebCruzer in forum Servers & Networking
    Replies: 5
    Last Post: 9th January 2005, 12:52 AM

Tags for this Thread

Posting Permissions

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